public void UpdateSpecialSquareVisuals(MeshRenderer mr, Square.SQUARE_TYPE squareType) { switch (squareType) { case Square.SQUARE_TYPE.RESET_TURN_COUNT: mr.material = BoardBlue; break; case Square.SQUARE_TYPE.IMPASSABLE: mr.material = BoardRed; break; } }
public SpecialSquare(int c, int r, Square.SQUARE_TYPE st) { col = c; row = r; squareType = st; }
public void AddSpecialSquare(int col, int row, Square.SQUARE_TYPE squareType) { SpecialSquare sq = new SpecialSquare(col, row, squareType); specialSquares.Add(sq); }