#include <commandFactory.h>

Public Member Functions | |
| CommandFactory (RequiredTargetType requiredTargetType, std::string previewMeshName="", EntityType targetEntityType=NENTITYTYPES) | |
| CommandFactory (const CommandFactory &orig) | |
| virtual | ~CommandFactory () |
| virtual std::deque< Command * > | MakeCommand (Entity *owner, std::pair< int, Ogre::Vector3 > mouseTargets)=0 |
Public Attributes | |
| RequiredTargetType | requiredTarget |
| EntityType | targetEntityType |
| std::string | previewMeshName |
Definition at line 30 of file commandFactory.h.
| FastEcslent::CommandFactory::CommandFactory | ( | RequiredTargetType | requiredTargetType, | |
| std::string | previewMeshName = "", |
|||
| EntityType | targetEntityType = NENTITYTYPES | |||
| ) | [inline] |
Definition at line 32 of file commandFactory.h.
| CommandFactory::CommandFactory | ( | const CommandFactory & | orig | ) |
Definition at line 14 of file commandFactory.cpp.
| CommandFactory::~CommandFactory | ( | ) | [virtual] |
Definition at line 17 of file commandFactory.cpp.
| virtual std::deque<Command*> FastEcslent::CommandFactory::MakeCommand | ( | Entity * | owner, | |
| std::pair< int, Ogre::Vector3 > | mouseTargets | |||
| ) | [pure virtual] |
Interface to a function which produces a new command
| owner | A pointer the Entity which the new command is being issued to. |
Implemented in FastEcslent::BuildFactory, FastEcslent::BuildStructureFactory, and FastEcslent::MoveFactory.
Referenced by FastEcslent::addCommandForEnt().
Definition at line 41 of file commandFactory.h.
Referenced by OgreGFX::FEButton::handleKeyEvent(), OgreGFX::FEButton::handleMouseEvent(), and OgreGFX::FEButton::processButtonFirstEvent().
Definition at line 42 of file commandFactory.h.
Referenced by OgreGFX::FEButton::handleMouseEvent().
| std::string FastEcslent::CommandFactory::previewMeshName |
Definition at line 43 of file commandFactory.h.
Referenced by OgreGFX::FEButton::processButtonFirstEvent().
1.5.4