Exemplo n.º 1
0
        public void EndTurn(SpeedComponent speedComponent, StatusEffectTrackerComponent statusEffectTrackerComponent)
        {
            int currentTick = this.NextTurnAtTick;

            if (statusEffectTrackerComponent != null)
            {
                statusEffectTrackerComponent.UpdateStatusEffectTimers(currentTick);
            }

            this.LastTurnAtTick = currentTick;
            this.NextTurnAtTick = currentTick + speedComponent.Speed;
        }
        public static StatusEffectTrackerComponent Create()
        {
            var component = new StatusEffectTrackerComponent();

            return(component);
        }