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; }
public GameAction(Entity p1, Entity p2, Ability a1) { this.Orgin = p1; this.Target = p2; }