#include <Game.h>
◆ TimeAccel
| Enumerator |
|---|
| TIMEACCEL_PAUSED | |
| TIMEACCEL_1X | |
| TIMEACCEL_10X | |
| TIMEACCEL_100X | |
| TIMEACCEL_1000X | |
| TIMEACCEL_10000X | |
| TIMEACCEL_HYPERSPACE | |
◆ Game() [1/2]
| Game::Game |
( |
const SystemPath & |
path, |
|
|
const double |
startDateTime = 0.0 |
|
) |
| |
◆ Game() [2/2]
| Game::Game |
( |
const Json & |
jsonObj | ) |
|
◆ ~Game()
◆ CanLoadGame()
| bool Game::CanLoadGame |
( |
const std::string & |
filename | ) |
|
|
static |
◆ GetDeathView()
◆ GetGalaxy()
◆ GetHyperspaceArrivalProbability()
| double Game::GetHyperspaceArrivalProbability |
( |
| ) |
const |
◆ GetHyperspaceDest()
| const SystemPath & Game::GetHyperspaceDest |
( |
| ) |
const |
|
inline |
◆ GetHyperspaceDuration()
| double Game::GetHyperspaceDuration |
( |
| ) |
const |
|
inline |
◆ GetHyperspaceEndTime()
| double Game::GetHyperspaceEndTime |
( |
| ) |
const |
|
inline |
◆ GetHyperspaceProgress()
| float Game::GetHyperspaceProgress |
( |
| ) |
const |
|
inline |
◆ GetHyperspaceSource()
| const SystemPath & Game::GetHyperspaceSource |
( |
| ) |
const |
|
inline |
◆ GetInfoView()
| View * Game::GetInfoView |
( |
| ) |
const |
|
inline |
◆ GetInvTimeAccelRate()
| float Game::GetInvTimeAccelRate |
( |
| ) |
const |
|
inline |
◆ GetObjectViewerView()
◆ GetPlayer()
| Player * Game::GetPlayer |
( |
| ) |
const |
|
inline |
◆ GetRequestedTimeAccel()
| TimeAccel Game::GetRequestedTimeAccel |
( |
| ) |
const |
|
inline |
◆ GetSectorView()
◆ GetSpace()
| Space * Game::GetSpace |
( |
| ) |
const |
|
inline |
◆ GetSpaceStationView()
| View * Game::GetSpaceStationView |
( |
| ) |
const |
|
inline |
◆ GetSystemView()
◆ GetTime()
| double Game::GetTime |
( |
| ) |
const |
|
inline |
◆ GetTimeAccel()
◆ GetTimeAccelRate()
| float Game::GetTimeAccelRate |
( |
| ) |
const |
|
inline |
◆ GetTimeStep()
| float Game::GetTimeStep |
( |
| ) |
const |
|
inline |
◆ GetWorldView()
◆ IsHyperspace()
| bool Game::IsHyperspace |
( |
| ) |
const |
|
inline |
◆ IsNormalSpace()
| bool Game::IsNormalSpace |
( |
| ) |
const |
|
inline |
◆ IsPaused()
| bool Game::IsPaused |
( |
| ) |
const |
|
inline |
◆ LoadGame()
| Game * Game::LoadGame |
( |
const std::string & |
filename | ) |
|
|
static |
◆ LoadGameToJson()
| Json Game::LoadGameToJson |
( |
const std::string & |
filename | ) |
|
|
static |
◆ RemoveHyperspaceCloud()
◆ RequestTimeAccel()
| void Game::RequestTimeAccel |
( |
TimeAccel |
t, |
|
|
bool |
force = false |
|
) |
| |
◆ RequestTimeAccelDec()
| void Game::RequestTimeAccelDec |
( |
bool |
force = false | ) |
|
Requests a decrease in time acceleration
- Parameters
-
| force | if set to false the system can reject the request under certain conditions |
◆ RequestTimeAccelInc()
| void Game::RequestTimeAccelInc |
( |
bool |
force = false | ) |
|
Requests an increase in time acceleration
- Parameters
-
| force | if set to false the system can reject the request under certain conditions |
◆ SaveGame()
| void Game::SaveGame |
( |
const std::string & |
filename, |
|
|
Game * |
game |
|
) |
| |
|
static |
◆ SetTimeAccel()
◆ TimeStep()
| void Game::TimeStep |
( |
float |
step | ) |
|
◆ ToJson()
| void Game::ToJson |
( |
Json & |
jsonObj | ) |
|
◆ UpdateTimeAccel()
| bool Game::UpdateTimeAccel |
( |
| ) |
|
◆ WantHyperspace()
| void Game::WantHyperspace |
( |
| ) |
|
◆ log
The documentation for this class was generated from the following files: