Emergency 2017 Dokumentation  v3.0.1
em5::PersonJumpOutOfWindowLogic Class Reference

Logic for persons jumping out of burning buildings' windows. More...

#include <PersonJumpOutOfWindowLogic.h>

Public Member Functions

 PersonJumpOutOfWindowLogic ()
 Default constructor. More...
 
void onPersonDied (const qsf::MessageParameters &parameter)
 Reaction to the persons death. More...
 
void updateSimulationJump (const qsf::JobArguments &jobArguments)
 Simulate the jump of the person. More...
 
void updateSimulationBalcony (const qsf::JobArguments &jobArguments)
 
virtual bool onStartup () override
 Startup the game logic. More...
 
virtual void onShutdown () override
 Shutdown the game logic. More...
 
- Public Member Functions inherited from qsf::GameLogic
virtual ~GameLogic ()
 Destructor. More...
 
uint32 getId () const
 Get the game logic's unique ID. More...
 
uint32 getTypeId () const
 Get the game logic's type ID. More...
 
uint64 getEntityId () const
 Get the owning entity's ID or zero if there is none. More...
 
EntitygetEntity () const
 Get the owning entity or a null pointer if there is none. More...
 
EntitygetEntitySafe () const
 Get the owning entity or a null pointer if there is none. More...
 
MapgetMap () const
 Get the associated map of the game logic. More...
 
bool startup ()
 Startup the game logic. More...
 
bool isRunning () const
 Return whether or not the game logic is up-and-running. More...
 
void shutdown ()
 Shutdown the game logic. More...
 
bool isDebug () const
 Return whether or not the logic is considered to be in debug mode. More...
 
void setDebug (bool debugMode)
 Set whether or not the logic is considered to be in debug mode. More...
 
virtual void serialize (BinarySerializer &serializer)
 Serialize or deserialize the game logic using a binary serializer. More...
 

Static Public Attributes

static const uint32 GAMELOGIC_TYPE_ID
 

Additional Inherited Members

- Protected Member Functions inherited from qsf::GameLogic
virtual void onSetDebug (bool debug)
 Set whether or not the logic is considered to be in debug mode. More...
 
void removeThis ()
 
 GameLogic (uint32 typeId)
 Constructor. More...
 
void registrationAtManager (GameLogicManager &manager, uint32 id)
 Registering call from manager. More...
 
- Protected Member Functions inherited from qsf::WeakPtrTarget
 WeakPtrTarget ()
 Default constructor. More...
 
 WeakPtrTarget (const WeakPtrTarget &other)
 Copy constructor. More...
 
 WeakPtrTarget (WeakPtrTarget &&)=delete
 Delete the move constructor, as WeakPtrTarget would need a proper move constructor-implementation that ensures that its pointer gets updated in the WeakPtrBase as well. More...
 
 ~WeakPtrTarget ()
 Destructor. More...
 
void invalidateAllWeakPtr ()
 Invalidate all weak pointers to this object. More...
 
void operator= (const WeakPtrTarget &other)
 Copy operator. More...
 

Detailed Description

Logic for persons jumping out of burning buildings' windows.

Definition at line 34 of file PersonJumpOutOfWindowLogic.h.

Constructor & Destructor Documentation

em5::PersonJumpOutOfWindowLogic::PersonJumpOutOfWindowLogic ( )

Default constructor.

Member Function Documentation

void em5::PersonJumpOutOfWindowLogic::onPersonDied ( const qsf::MessageParameters parameter)

Reaction to the persons death.

virtual void em5::PersonJumpOutOfWindowLogic::onShutdown ( )
overridevirtual

Shutdown the game logic.

Reimplemented from qsf::GameLogic.

virtual bool em5::PersonJumpOutOfWindowLogic::onStartup ( )
overridevirtual

Startup the game logic.

Reimplemented from qsf::GameLogic.

void em5::PersonJumpOutOfWindowLogic::updateSimulationBalcony ( const qsf::JobArguments jobArguments)
void em5::PersonJumpOutOfWindowLogic::updateSimulationJump ( const qsf::JobArguments jobArguments)

Simulate the jump of the person.

Todo:
This is just a dummy, please make it better, faster, stronger^^

Member Data Documentation

const uint32 em5::PersonJumpOutOfWindowLogic::GAMELOGIC_TYPE_ID
static

Definition at line 42 of file PersonJumpOutOfWindowLogic.h.


The documentation for this class was generated from the following file: