Exemplo n.º 1
0
 public TestEnemy(GameModel game, Point position) : base(game, position)
 {
     Attack            = new Attack(new[] { new Size(1, 0), new Size(0, 1), new Size(-1, 0), new Size(0, -1) }, AttackType.Physical, 50, 2, false);
     movePossibilities = new[] { new Size(1, 0), new Size(0, 1), new Size(-1, 0), new Size(0, -1), new Size(0, 0) };
 }
Exemplo n.º 2
0
 public void SetAttack(Attack attack) => Attack = attack;
Exemplo n.º 3
0
 /// <summary>
 /// Connects this UI to the attack
 /// </summary>
 /// <param name="atk">The Attack</param>
 public void SetupAttack(Attack atk)
 {
     Atk = atk;
 }