Пример #1
0
        public void AttemptAction(IAction <PhysicalActor> action)
        {
            action.Attempt();
            IEvent cooldownEvent = new CooldownEvent <PhysicalActor>(actor: this);

            ScheduledEvent = cooldownEvent;
            Schedule.Add(cooldownEvent, action.CooldownTime);
        }