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