public void SetCursor(int row, int col) { if (FieldValidator.CheckPostion(row, col, BattlefieldSize)) { Condition[row, col] = -2; } }
public void FireAt(int row, int col) { if (FieldValidator.CheckPostion(row, col, BattlefieldSize)) { if (Condition[row, col] == 1) { Condition[row, col] = -1; } } }