Example #1
0
        private void AddCustom(object sender, EventArgs e)
        {
            var dialog = new MapSizeChooser("Custom Size...");

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                TileMap.Add(TileMap.Create("CustomMap", dialog.MapWidth, dialog.MapHeight));
            }
        }
Example #2
0
 private void AddHud(object sender, EventArgs e)
 {
     TileMap.Add(TileMap.Create("UnnamedHud", 20, 1));
 }
Example #3
0
 private void AddMap(object sender, EventArgs e)
 {
     TileMap.Add(TileMap.Create("UnnamedMap", 32, 32));
 }
Example #4
0
 private void AddScreen(object sender, EventArgs e)
 {
     TileMap.Add(TileMap.Create("UnnamedScreen", 20, 18));
 }