Loading...
Searching...
No Matches
CityBuilderCore.IGameSpeed Interface Reference
Inheritance diagram for CityBuilderCore.IGameSpeed:
CityBuilderCore.DefaultGameManager CityBuilderCore.GameSpeedProxy

Public Member Functions

void Pause ()
 pauses game, continue with Resume
 
void Resume ()
 resumes game after pause has been called
 
void SetSpeed (float speed)
 set the current gamespeed
 

Properties

float Playtime [get]
 time passed since start of the mission, carries over saves
 
bool IsPaused [get]
 whether the game is currently paused
 

Member Function Documentation

◆ Pause()

void CityBuilderCore.IGameSpeed.Pause ( )

pauses game, continue with Resume

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSpeedProxy.

◆ Resume()

void CityBuilderCore.IGameSpeed.Resume ( )

resumes game after pause has been called

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSpeedProxy.

◆ SetSpeed()

void CityBuilderCore.IGameSpeed.SetSpeed ( float speed)

set the current gamespeed

Parameters
speed

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSpeedProxy.

Property Documentation

◆ IsPaused

bool CityBuilderCore.IGameSpeed.IsPaused
get

whether the game is currently paused

Implemented in CityBuilderCore.GameSpeedProxy.

◆ Playtime

float CityBuilderCore.IGameSpeed.Playtime
get

time passed since start of the mission, carries over saves

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSpeedProxy.