Advanced Strategic Command
Classes | Typedefs | Functions
action.h File Reference
#include "../typen.h"
#include "../ascstring.h"
#include "../basestrm.h"
#include "../util/factorywithnames.h"
#include "context.h"
#include "actionresult.h"
Include dependency graph for action.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GameAction
 A GameAction is an modification of something on a map. More...
 

Typedefs

typedef int GameActionID
 
typedef Loki::SingletonHolder
< Factory1< GameAction,
GameActionID, GameMap * > > 
gameActionFactory
 

Functions

template<class Derived >
GameActionGameActionCreator (GameMap *map)
 
template<typename ActionType >
bool registerAction (GameActionID id)
 

Typedef Documentation

typedef Loki::SingletonHolder< Factory1< GameAction , GameActionID, GameMap* > > gameActionFactory

Definition at line 111 of file action.h.

typedef int GameActionID

Definition at line 35 of file action.h.

Function Documentation

template<class Derived >
GameAction* GameActionCreator ( GameMap map)

Definition at line 114 of file action.h.

template<typename ActionType >
bool registerAction ( GameActionID  id)

Definition at line 120 of file action.h.