Ejemplo n.º 1
0
 public Board CreateHiddenBoard(Point mapSize, Point centerPoint)
 {
     lock (this)
     {
         Board newBoard = new Board(mapSize, centerPoint, this, null, ItemTypes.None, ItemTypes.None);
         newBoard.CreateMapLayers();
         return(newBoard);
     }
 }
Ejemplo n.º 2
0
 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.CreateMapLayers();
         return(newBoard);
     }
 }