Timeboard

v4.0

Timeboard is an object and class which combines Gametime with a Blackboard. It it used automatically by other Game Module systems, and can be used in your project as well.

Timeboard automatically saves when the Save and Load module is used.

Variables

// Subscribe to the Timeboard blackboard (implement IFollowBlackboard to follow
// the blackboard:
// Timeboard.timeboard.Blackboard.Subscribe(this);
public Blackboard Blackboard

// Access Gametime:
// Timeboard.timeboard.gametime
public Gametime gametime

// This is set to Time.time on Update(), so all Game Module systems can agree
// on the time. Otherwise, each script will run at a slightly different Time.time
public float FrameTime

// GameTime will progress via Time.deltaTime, but can be modified by the value
// of TimeModification
public float TimeModification;

Methods

// Returns a two-digit number from a one digit value
public string ParseTwoDigitNumber(int value)

// Set the Time Modification value to modify the progression of GameTime
timeboard.SetTimeModification(TimeScale);

Last updated

Was this helpful?