public GameWindow() { WindowState = WindowState.Maximized; WindowStyle = WindowStyle.None; assembler = new GameWidgetAssembler(this); Content = assembler.OutputGrid; Show(); Start(); }
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(); }