public virtual void StopMoving(Movement where, long commandID) { Update(GameTime.CalculatePercentOfSecond(LastUpdated)); Host.IdleManager.RecordActivity(); MovementController.StopMoving(where); Host.LastCommandID = commandID; }
public virtual void DeactivateAbility(string abilityName, long commandID) { Update(GameTime.CalculatePercentOfSecond(LastUpdated)); Host.IdleManager.RecordActivity(); AbilityHandler.Deactivate(abilityName); Host.LastCommandID = commandID; }
public void ResetMoving(List <Movement> movementList, long commandID) { Update(GameTime.CalculatePercentOfSecond(LastUpdated)); foreach (Movement m in movementList) { MovementController.StopMoving(m); } Host.LastCommandID = commandID; }
public void Update(GameTime gameTime) { Update(GameTime.CalculatePercentOfSecond(LastUpdated)); }