OpenEnroth 73e68f7
|
#include <VideoState.h>
Public Types | |
enum class | Type { VIDEO_LOGO , VIDEO_INTRO } |
Public Member Functions | |
VideoState (Type type, std::string_view videoFileName) | |
virtual FsmAction | update () override |
virtual FsmAction | enter () override |
Invoked within Fsm::update() when transitioning to this state as the new current state. More... | |
virtual void | exit () override |
Invoked within Fsm::update() when this state is replaced by a new current state. More... | |
Public Member Functions inherited from FsmState | |
virtual | ~FsmState ()=default |
virtual FsmAction | update ()=0 |
virtual FsmAction | enter ()=0 |
Invoked within Fsm::update() when transitioning to this state as the new current state. More... | |
virtual void | exit ()=0 |
Invoked within Fsm::update() when this state is replaced by a new current state. More... | |
Public Member Functions inherited from FsmEventHandler | |
FsmEventHandler () | |
Public Member Functions inherited from PlatformEventFilter | |
PlatformEventFilter (std::initializer_list< PlatformEventType > eventTypes) | |
PlatformEventFilter (PlatformEventWildcard eventTypes) | |
virtual bool | event (const PlatformEvent *event) |
const std::vector< PlatformEventType > | eventTypes () const |
Private Member Functions | |
virtual bool | mousePressEvent (const PlatformMouseEvent *event) override |
virtual bool | keyPressEvent (const PlatformKeyEvent *event) override |
Private Attributes | |
Type | _type |
std::string | _videoFileName |
std::unique_ptr< IMovie > | _movie |
ScreenType | _previousScreenType {} |
bool | _isPaused {} |
bool | _skipVideo {} |
|
strong |
|
explicit |
|
overridevirtual |
Invoked within Fsm::update() when transitioning to this state as the new current state.
Implements FsmState.
|
overridevirtual |
Invoked within Fsm::update() when this state is replaced by a new current state.
Implements FsmState.
|
overrideprivatevirtual |
Reimplemented from PlatformEventFilter.
|
overrideprivatevirtual |
Reimplemented from PlatformEventFilter.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |