Example #1
0
        public Board CreateBoard(Point mapSize, Point centerPoint, int layers)
        {
            Board newBoard = new Board(mapSize, centerPoint, this);

            newBoard.CreateLayers(layers);
            return(newBoard);
        }
 public Board CreateHiddenBoard(Point mapSize, Point centerPoint)
 {
     lock (this)
     {
         Board newBoard = new Board(mapSize, centerPoint, this, null, ItemTypes.None, ItemTypes.None);
         newBoard.CreateLayers();
         return(newBoard);
     }
 }
 public Board CreateBoard(Microsoft.Xna.Framework.Point mapSize, Point centerPoint, System.Windows.Controls.ContextMenu menu)
 {
     lock (this)
     {
         Board newBoard = new Board(mapSize, centerPoint, this, menu, ApplicationSettings.theoreticalVisibleTypes, ApplicationSettings.theoreticalEditedTypes);
         boards.Add(newBoard);
         newBoard.CreateLayers();
         return(newBoard);
     }
 }
Example #4
0
 public Board CreateBoard(Point mapSize, Point centerPoint, int layers, ContextMenuStrip menu)
 {
     lock (this)
     {
         Board newBoard = new Board(mapSize, centerPoint, this, menu, ApplicationSettings.theoreticalVisibleTypes, ApplicationSettings.theoreticalEditedTypes);
         boards.Add(newBoard);
         newBoard.CreateLayers(layers);
         return(newBoard);
     }
 }
Example #5
0
 public Board CreateBoard(Point mapSize, Point centerPoint, int layers)
 {
     Board newBoard = new Board(mapSize, centerPoint, this);
     newBoard.CreateLayers(layers);
     return newBoard;
 }