GameTime Struct Reference

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

#include <typen.h>

List of all members.

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

int GameTime::move (  )  const [inline]

Definition at line 180 of file typen.h.

References abstime.

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

int GameTime::turn (  )  const [inline]

Definition at line 181 of file typen.h.

References abstime.

Referenced by authenticateUser(), checkJournal(), FileTransfer::constructFileName(), editjournal(), GameMap::endRound(), GameMap::endTurn(), execaction(), Event::execute(), executeUserAction(), WeatherAreaInformation::getInformation(), TurnPassed::getState(), WeatherSystem::getWindDataOfTurn(), log(), next_turn(), Weathercast::painter(), tspfldloaders::readfields(), tsavegameloaders::savegame(), WeatherSystem::update(), and WeatherPanel::WeatherPanel().

static bool GameTime::comp ( const GameTime a,
const GameTime b 
) [inline, static]

Definition at line 182 of file typen.h.

References abstime.

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

void GameTime::set ( int  turn,
int  move 
) [inline]

Definition at line 183 of file typen.h.

References abstime.

Referenced by TurnPassed::arm(), editjournal(), GameMap::endRound(), execaction(), Event::execute(), PrehistoricEventStructure::PrehistoricEventStructure(), WeatherSystem::read(), tspfldloaders::readmessages(), GameMap::startGame(), and WeatherSystem::update().


Member Data Documentation

int GameTime::abstime

Definition at line 183 of file typen.h.

Referenced by checkJournal(), checktimedevents(), comp(), Event::Event(), Event::execute(), GameMap::GameMap(), GameTime(), PrehistoricEventStructure::LargeTriggerData::LargeTriggerData(), move(), ltGTime::operator()(), PrehistoricEventStructure::PrehistoricEventStructure(), AiParameter::read(), GameMap::read(), Event::read(), set(), turn(), WeatherSystem::update(), AiParameter::write(), GameMap::write(), and Event::write().


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