ActionObjectRemovalStrategy Class Reference

Inheritance diagram for ActionObjectRemovalStrategy:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ActionObjectRemovalStrategy (const Context &actionContext, const ObjectType *object)
virtual void removeObject (MapField *fld, const ObjectType *objectType)
bool getImmediateRemoval ()

Detailed Description

Definition at line 98 of file spawnobject.cpp.


Constructor & Destructor Documentation

ActionObjectRemovalStrategy::ActionObjectRemovalStrategy ( const Context actionContext,
const ObjectType object 
) [inline]

Definition at line 103 of file spawnobject.cpp.


Member Function Documentation

virtual void ActionObjectRemovalStrategy::removeObject ( MapField fld,
const ObjectType objectType 
) [inline, virtual]

Implements MapField::ObjectRemovalStrategy.

Definition at line 107 of file spawnobject.cpp.

References MapField::getMap(), MapField::getPosition(), ObjectType::id, MapField::objects, and ActionRegistry::RemoveObject.

bool ActionObjectRemovalStrategy::getImmediateRemoval (  )  [inline]

Definition at line 122 of file spawnobject.cpp.

Referenced by SpawnObject::runAction().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:13 2012 for Advanced Strategic Command by  doxygen 1.5.1