public Editor() { InitializeComponent(); _instance = this; _changeMade = false; _curGame = new Game(); _newGame = new NewGame(); _IO = new IO(); _newMap = new NewMap(); _globalFont = new SFML.Graphics.Font("Georgia.ttf"); _block = new Texture("block.png"); _projectDirectory = new ProjectDirectory(); _mapViewFormList = new List<MapViewerForm>(); _actorManager = new ActorManagerForm(); _gameRunner = new GameRunner(_curGame); _viewSwitch = new ViewSwitch(); _viewVariable = new ViewVariable(); DisableTool(); }
private void mapToolStripMenuItem_Click(object sender, EventArgs e) { _newMap = new NewMap(); _newMap.ShowDialog(); }