Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Map map = new Map(10, 10);

            // Test Adding symbol to board
            MapPoint mp = new MapPoint("A", 10);
            BoardPiece bp = new BoardPiece("*");
            BoardSquare bs = new BoardSquare(mp, bp);
            Point p = new Point(0, 0);

            map.AddPieceToBoard(bs);
            map.PrintLong();

            // Wait for input, stops console from closing
            Console.ReadKey();
        }
Exemplo n.º 2
0
Arquivo: Map.cs Projeto: dolane9/JGR
 public bool AddPieceToBoard(BoardSquare square, Point point)
 {
     return this.GameBoard.AddPieceToBoard(square, point);
 }
Exemplo n.º 3
0
Arquivo: Map.cs Projeto: dolane9/JGR
 public bool AddPieceToBoard(BoardSquare square)
 {
     return this.GameBoard.AddPieceToBoard(square);
 }