FastEcslent::MoveFactory Class Reference

#include <commandFactory.h>

Inheritance diagram for FastEcslent::MoveFactory:

FastEcslent::CommandFactory

List of all members.

Public Member Functions

 MoveFactory ()
 MoveFactory (const CommandFactory &orig)
virtual ~MoveFactory ()
virtual std::deque< Command * > MakeCommand (Entity *owner, std::pair< int, Ogre::Vector3 > mouseTargets)


Detailed Description

Definition at line 105 of file commandFactory.h.


Constructor & Destructor Documentation

FastEcslent::MoveFactory::MoveFactory (  )  [inline]

Constructor for a Factory which produces commands to move to a location/entity.

Parameters:
spawnEnt The EntityType that BuildCommands produced from this factory should construct
Returns:
void

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.


Member Function Documentation

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.

Parameters:
owner A pointer the Entity which the new command is being issued to.
Returns:
Command* Pointer to a new BuildCommand assigned to 'owner', to spawn a new unit of type 'spawnEnt'

Implements FastEcslent::CommandFactory.

Definition at line 125 of file commandFactory.h.

References FastEcslent::createMoveForEnt().


The documentation for this class was generated from the following file:
Generated on Fri Dec 13 14:54:20 2013 for FastECSLent by  doxygen 1.5.4