Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 157 of file typen.h.


Constructor & Destructor Documentation

GameTime::GameTime  )  [inline]
 

Definition at line 158 of file typen.h.

References abstime.


Member Function Documentation

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

Definition at line 161 of file typen.h.

References abstime.

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

int GameTime::move  )  const [inline]
 

Definition at line 159 of file typen.h.

References abstime.

Referenced by checkJournal(), execuseraction2(), Event::execute(), TurnPassed::getState(), BaseVehicleMovement::moveunitxy(), tunitattacksobject::setresult(), tunitattacksbuilding::setresult(), and tunitattacksunit::setresult().

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

Definition at line 162 of file typen.h.

References abstime.

Referenced by TurnPassed::arm(), editjournal(), GameMap::endRound(), execaction(), Event::execute(), BaseVehicleMovement::moveunitxy(), PrehistoricEventStructure::PrehistoricEventStructure(), WeatherSystem::read(), tspfldloaders::readmessages(), tunitattacksobject::setresult(), tunitattacksbuilding::setresult(), tunitattacksunit::setresult(), GameMap::startGame(), and WeatherSystem::update().

int GameTime::turn  )  const [inline]
 

Definition at line 160 of file typen.h.

References abstime.

Referenced by authenticateUser(), checkJournal(), FileTransfer::constructFileName(), editjournal(), GameMap::endRound(), GameMap::endTurn(), execaction(), execuseraction2(), Event::execute(), WeatherAreaInformation::getInformation(), TurnPassed::getState(), WeatherSystem::getWindDataOfTurn(), BaseVehicleMovement::moveunitxy(), next_turn(), Weathercast::painter(), tspfldloaders::readfields(), tunitattacksobject::setresult(), tunitattacksbuilding::setresult(), tunitattacksunit::setresult(), WeatherSystem::update(), and WeatherPanel::WeatherPanel().


Member Data Documentation

int GameTime::abstime
 

Definition at line 162 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 Tue Jun 24 02:17:30 2008 for Advanced Strategic Command by  doxygen 1.4.2