Example #1
0
        public virtual void StopMoving(Movement where, long commandID)
        {
            Update(GameTime.CalculatePercentOfSecond(LastUpdated));

            Host.IdleManager.RecordActivity();
            MovementController.StopMoving(where);
            Host.LastCommandID = commandID;
        }
Example #2
0
        public virtual void DeactivateAbility(string abilityName, long commandID)
        {
            Update(GameTime.CalculatePercentOfSecond(LastUpdated));

            Host.IdleManager.RecordActivity();
            AbilityHandler.Deactivate(abilityName);
            Host.LastCommandID = commandID;
        }
Example #3
0
        public void ResetMoving(List <Movement> movementList, long commandID)
        {
            Update(GameTime.CalculatePercentOfSecond(LastUpdated));

            foreach (Movement m in movementList)
            {
                MovementController.StopMoving(m);
            }

            Host.LastCommandID = commandID;
        }
Example #4
0
 public void Update(GameTime gameTime)
 {
     Update(GameTime.CalculatePercentOfSecond(LastUpdated));
 }