TaskInterface Class Reference

#include <taskinterface.h>

Inheritance diagram for TaskInterface:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual int getCompletion ()=0
virtual bool operatable ()=0
 checks if the task can still be operated.
virtual void rearm ()=0
virtual ~TaskInterface ()

Detailed Description

Definition at line 26 of file taskinterface.h.


Constructor & Destructor Documentation

virtual TaskInterface::~TaskInterface (  )  [inline, virtual]

Definition at line 35 of file taskinterface.h.


Member Function Documentation

virtual int TaskInterface::getCompletion (  )  [pure virtual]

Implemented in MoveUnitCommand.

virtual bool TaskInterface::operatable (  )  [pure virtual]

checks if the task can still be operated.

If the task's unit was shot down for example, this would be the method to detect it and return false

Implemented in MoveUnitCommand.

Referenced by runOpenTasks(), and runTasks().

virtual void TaskInterface::rearm (  )  [pure virtual]

Implemented in MoveUnitCommand.


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