Beispiel #1
0
        public CharTile PlaceCharTile(int X, int Y, CharTile c)
        {
            if (!CoordinatesExist(X, Y))
            {
                return(null);
            }
            BoardTile boardTile = GetBoardTileAtCoordinates(X, Y);

            boardTile.PlaceCharTile(c);
            return(c);
        }
Beispiel #2
0
 public CharTile PlaceCharTile(CharTile c)
 {
     CharTile = c;
     return(c);
 }
Beispiel #3
0
 public BoardTile(int x, int y, CharTile charTile = null)
 {
     CharTile = charTile;
     X        = x;
     Y        = y;
 }