C# Class Railgun.RailClock

Used for keeping track of the remote peer's clock.
Afficher le fichier Open project: ashoulson/RailgunNet Class Usage Examples

Méthodes publiques

Méthode Description
Update ( ) : void
UpdateLatest ( Tick latestTick ) : void

Private Methods

Méthode Description
RailClock ( int remoteSendRate = RailConfig.NETWORK_SEND_RATE, int delayMin = RailClock.DELAY_MIN, int delayMax = RailClock.DELAY_MAX )
ShouldSnapTick ( float delta ) : bool

Method Details

Update() public méthode

public Update ( ) : void
Résultat void

UpdateLatest() public méthode

public UpdateLatest ( Tick latestTick ) : void
latestTick Tick
Résultat void