public Form1() { InitializeComponent(); tileset = new Tileset(); TilePalette.Update(tileset); MapEditor.Selected = TilePalette.Selected; MapEditor.CreateMap(tileset); }
public MapEditor() { InitializeComponent(); Tileset.InitiateTileset(); TilePalette.Update(); MapView.Selected = TilePalette.Selected; MapView.CreateMap(); NewMap = new NewMapForm(this); }