Example #1
0
 public override void SetAttackOn(Vector2 _sell, CreateBoard board)
 {
     for (int i = 1; i <= length; i++)
     {
         if (!board.setIsAttack(_sell + (go_sell * i)))
         {
             break;
         }
     }
 }
Example #2
0
    public override void SetAttackOn(Vector2 _sell, CreateBoard board)
    {
        Vector2 onsell = _sell + go_sell;

        board.setIsAttack(onsell);
    }