Example #1
0
        public void TakeAction(IGameAction action)
        {
            if (!action.CanExecute(this))
            {
                return;
            }

            action.Execute(this);
        }