C# Class TrianglesInSpace.Time.SynchronizedClock

Inheritance: IClock, IDisposable
Afficher le fichier Open project: anthony-martin/Triangles-in-space

Méthodes publiques

Méthode Description
Dispose ( ) : void
SetMaster ( bool isMaster ) : void
SynchronizedClock ( IBus bus ) : System
UpdateTime ( double timeSinceLastUpdate ) : void

Update the time based on real time since last update

Private Methods

Méthode Description
OnTimeUpdate ( TimeUpdateMessage message ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

SetMaster() public méthode

public SetMaster ( bool isMaster ) : void
isMaster bool
Résultat void

SynchronizedClock() public méthode

public SynchronizedClock ( IBus bus ) : System
bus IBus
Résultat System

UpdateTime() public méthode

Update the time based on real time since last update
public UpdateTime ( double timeSinceLastUpdate ) : void
timeSinceLastUpdate double in seconds
Résultat void