コード例 #1
0
 public GameWindow()
 {
     WindowState = WindowState.Maximized;
     WindowStyle = WindowStyle.None;
     assembler   = new GameWidgetAssembler(this);
     Content     = assembler.OutputGrid;
     Show();
     Start();
 }
コード例 #2
0
 public GridMap(World world, Func <ICell, GameWidgetAssembler, Button> vis, GameWidgetAssembler wa)
 {
     World             = world;
     visualizer        = vis;
     assembler         = wa;
     Size              = world.Size;
     Map               = new Grid();
     Map.ShowGridLines = false;
     SetGrid();
     DrawMap();
 }