Example #1
0
        private void OnCreateCalled(MapInitEventArgs e)
        {
            EventHandler <MapInitEventArgs> createCalled = CreateCalled;

            if (createCalled != null)
            {
                createCalled(this, e);
            }
        }
Example #2
0
 private void mapInitPanel_CreateCalled(object sender, MapInitEventArgs e)
 {
     Game.CurrentScreen = new EditorScreen(Game, e.TileW, e.Field);
 }