void IStage.Update() { if (_UpdateTimeCounter.Second < _UpdateTime) { return; } var deltaTime = this._GetDeltaTime(); _Machine.Update(); _Updater.Working(); var lastDeltaTime = deltaTime; _Move(lastDeltaTime); _Broadcast(_Map.Find(_Player.GetView())); _Player.Equipment.UpdateEffect(lastDeltaTime); var target = _Player.HaveTransmit(); if (target != null) { TransmitEvent(target); } }
// Update is called once per frame void Update() { _Machine.Update(); }
bool IUpdatable.Update() { _SendMachine.Update(); _ReceiveMachine.Update(); return(_Peer.Connected); }
bool IUpdatable.Update() { _Updater.Working(); _Machine.Update(); return(true); }
// Update is called once per frame void Update() { var code = this.GetHashCode(); _Machine.Update(); }