Emergency 20 Dokumentation  4.2.0
em5::RemoveEntityCommandMode Class Reference

Remove entity command mode. More...

#include <RemoveEntityCommandMode.h>

Inheritance diagram for em5::RemoveEntityCommandMode:
em5::DebugCommandMode qsf::game::CommandMode

Public Member Functions

 RemoveEntityCommandMode ()
 Default constructor. More...
 
virtual ~RemoveEntityCommandMode ()
 Destructor. More...
 
virtual void startup () override
 Startup. More...
 
virtual void shutdown () override
 Shutdown. More...
 
virtual bool executeCommandContext (qsf::game::CommandContext &commandContext, const EntityIdSet &callerIds) override
 Process command execution. More...
 
virtual void updateCommandMode (const qsf::Clock &clock) override
 Regular update. More...
 
- Public Member Functions inherited from qsf::game::CommandMode
 CommandMode (uint32 commandId)
 Default constructor. More...
 
virtual ~CommandMode ()
 Destructor. More...
 
uint32 getId () const
 Get command mode ID, which is the command mode's PLUGINABLE_ID. More...
 

Static Public Member Functions

static bool execute (qsf::game::CommandContext &commandContext)
 

Static Public Attributes

static const uint32 PLUGINABLE_ID
 "em5::RemoveEntityCommandMode" unique command pluginable ID More...
 

Additional Inherited Members

- Public Types inherited from qsf::game::CommandMode
typedef boost::container::flat_set< uint64EntityIdSet
 
- Protected Member Functions inherited from em5::DebugCommandMode
 DebugCommandMode (uint32 commandId)
 Default constructor. More...
 
virtual ~DebugCommandMode ()
 Destructor. More...
 
FreeplayEventgetCurrentFreeplayEvent () const
 Get the (first) currently running freeplay event, or a null pointer if there is none. More...
 
glm::vec2 getMousePosition () const
 Get the current mouse position. More...
 
glm::vec2 getNormalizedMousePosition () const
 Get the current normalized mouse position. More...
 

Detailed Description

Remove entity command mode.

Remarks
This command mode lets the user remove an entity

Constructor & Destructor Documentation

em5::RemoveEntityCommandMode::RemoveEntityCommandMode ( )

Default constructor.

virtual em5::RemoveEntityCommandMode::~RemoveEntityCommandMode ( )
virtual

Destructor.

Member Function Documentation

static bool em5::RemoveEntityCommandMode::execute ( qsf::game::CommandContext commandContext)
static
virtual bool em5::RemoveEntityCommandMode::executeCommandContext ( qsf::game::CommandContext commandContext,
const EntityIdSet callerIds 
)
overridevirtual

Process command execution.

Reimplemented from qsf::game::CommandMode.

virtual void em5::RemoveEntityCommandMode::shutdown ( )
overridevirtual

Shutdown.

Note
  • The default implementation is empty

Reimplemented from qsf::game::CommandMode.

virtual void em5::RemoveEntityCommandMode::startup ( )
overridevirtual

Startup.

Note
  • The default implementation is empty

Reimplemented from qsf::game::CommandMode.

virtual void em5::RemoveEntityCommandMode::updateCommandMode ( const qsf::Clock clock)
overridevirtual

Regular update.

Note
  • The default implementation is empty

Reimplemented from qsf::game::CommandMode.

Member Data Documentation

const uint32 em5::RemoveEntityCommandMode::PLUGINABLE_ID
static

"em5::RemoveEntityCommandMode" unique command pluginable ID


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