#include <action.h>
Inheritance diagram for DALT_Client::Action:


Public Methods | |
| Action (string name, SOAPProxy *endpoint, int cost) | |
| constructor. More... | |
| virtual | ~Action () |
| destructor, does nothing. More... | |
| void | setOriginator (Entity *originator) |
| sets the originator of this action. More... | |
| void | addTarget (Entity &target) |
| adds a new target. More... | |
| virtual int | dispatch () |
| dispatches this action. More... | |
Public Attributes | |
| string | name |
| the name uniquely identifying this action. More... | |
Protected Attributes | |
| AllowedSets | allowed_sets |
| the entity types which are allowed to take part in this action. More... | |
| vector<Entity> | targets |
| the specific entites chosen for a particular instance of the action. More... | |
| int | time_cost |
| the cost in simulation cycles of this action. More... | |
| Entity* | originator |
| the entity originating this action. More... | |
| SOAPProxy* | endpoint |
| endpoint for the server. More... | |
Definition at line 39 of file action.h.
|
|
constructor.
|
|
|
destructor, does nothing.
|
|
|
adds a new target.
|
|
|
dispatches this action.
|
|
|
sets the originator of this action.
|
|
|
the entity types which are allowed to take part in this action.
|
|
|
endpoint for the server.
|
|
|
the name uniquely identifying this action.
|
|
|
the entity originating this action.
|
|
|
the specific entites chosen for a particular instance of the action.
|
|
|
the cost in simulation cycles of this action.
|
1.2.8 written by Dimitri van Heesch,
© 1997-2001