Пример #1
0
        private int DoAttack(Player target, Ability a)
        {
            var skill = (LightAttackAbility)a;
            var action = skill.CreatAction(this, target);
            var resolution = action;
            var r = resolution.Resolve();

            return r;
        }
Пример #2
0
 public GameAction(Entity p1, Entity p2, Ability a1)
 {
     this.Orgin = p1;
     this.Target = p2;
 }