AlphaFramework API
1.0.3
|
A common base for game sessions (i.e. a game actually being played). More...
Public Member Functions | |
virtual double | Update (double elapsedRealTime) |
Updates the underlying Universe. More... | |
Protected Member Functions | |
SessionBase () | |
Base-constructor for XML serialization. Do not call manually! More... | |
SessionBase (TUniverse baseUniverse) | |
Creates a new game session based upon a given universe More... | |
Properties | |
TUniverse | Universe [get] |
The current state of the game world. More... | |
string | MapSourceFile [get] |
The filename of the map file the Universe was loaded from. More... | |
double | TimeWarpFactor = 1 [get, set] |
The factor by which UniverseBase<TCoordinates>.GameTime progression should be multiplied in relation to real time. More... | |
A common base for game sessions (i.e. a game actually being played).
TUniverse | The specific type of IUniverse stored in the session. |
TUniverse | : | class | |
TUniverse | : | IUniverse |
|
inlineprotected |
Base-constructor for XML serialization. Do not call manually!
|
inlineprotected |
Creates a new game session based upon a given universe
baseUniverse | The universe to base the new game session on. |
|
inlinevirtual |
Updates the underlying Universe.
elapsedRealTime | How much real time in seconds has elapsed since this method was last called. |
|
get |
The filename of the map file the Universe was loaded from.
|
getset |
The factor by which UniverseBase<TCoordinates>.GameTime progression should be multiplied in relation to real time.
|
get |
The current state of the game world.