Advanced Strategic Command
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GameTime Struct Reference

the time in ASC, measured in turns and moves More...

#include <typen.h>

Public Member Functions

 GameTime ()
 
int move () const
 
int turn () const
 
void set (int turn, int move)
 

Static Public Member Functions

static bool comp (const GameTime &a, const GameTime &b)
 

Public Attributes

int abstime
 

Detailed Description

the time in ASC, measured in turns and moves

Definition at line 178 of file typen.h.

Constructor & Destructor Documentation

GameTime::GameTime ( )
inline

Definition at line 179 of file typen.h.

References abstime.

Member Function Documentation

static bool GameTime::comp ( const GameTime a,
const GameTime b 
)
inlinestatic

Definition at line 182 of file typen.h.

References abstime.

Referenced by Event::arm(), TurnPassed::arm(), and Event::execute().

int GameTime::move ( ) const
inline

Definition at line 180 of file typen.h.

References abstime.

Referenced by checkJournal(), Event::execute(), executeUserAction(), TurnPassed::getState(), and readOldEvent().

void GameTime::set ( int  turn,
int  move 
)
inline
int GameTime::turn ( ) const
inline

Member Data Documentation

int GameTime::abstime

The documentation for this struct was generated from the following file: