#include <commandFactory.h>
Public Member Functions | |
MoveFactory () | |
MoveFactory (const CommandFactory &orig) | |
virtual | ~MoveFactory () |
virtual std::deque< Command * > | MakeCommand (Entity *owner, std::pair< int, Ogre::Vector3 > mouseTargets) |
Definition at line 105 of file commandFactory.h.
FastEcslent::MoveFactory::MoveFactory | ( | ) | [inline] |
Constructor for a Factory which produces commands to move to a location/entity.
spawnEnt | The EntityType that BuildCommands produced from this factory should construct |
Definition at line 113 of file commandFactory.h.
FastEcslent::MoveFactory::MoveFactory | ( | const CommandFactory & | orig | ) |
virtual FastEcslent::MoveFactory::~MoveFactory | ( | ) | [inline, virtual] |
Definition at line 117 of file commandFactory.h.
virtual std::deque<Command*> FastEcslent::MoveFactory::MakeCommand | ( | Entity * | owner, | |
std::pair< int, Ogre::Vector3 > | mouseTargets | |||
) | [inline, virtual] |
Function to produce a new MoveCommand for a specified Entity.
owner | A pointer the Entity which the new command is being issued to. |
Implements FastEcslent::CommandFactory.
Definition at line 125 of file commandFactory.h.
References FastEcslent::createMoveForEnt().