Advanced Strategic Command
Public Member Functions | List of all members
TaskInterface Class Referenceabstract

#include <taskinterface.h>

Inheritance diagram for TaskInterface:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Definition at line 26 of file taskinterface.h.

Constructor & Destructor Documentation

virtual TaskInterface::~TaskInterface ( )
inlinevirtual

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: