void HandleUpdateRotor(UpdateRotorMessage message, ObjectMessageMetadata metadata) { _serverRotation = message.Rotation; _serverTimestamp = _clock.CurrentTime - metadata.Latency; }
void HandleDirectionUpdate(WhispMessage.UpdateDirection message, ObjectMessageMetadata metadata) { _serverTimestamp = _clock.CurrentTime - metadata.Latency; _serverPosition = message.Position; _direction = message.Direction; }