Esempio n. 1
0
 static void Main()
 {
     using (var form = new EditorForm())
     {
         using (var game = new GameEx(form.constructEditor, form.startEditor, form.loadEditor, form.updateEditor, form.drawEditor))
         {
             form.Show();
             game.Run();
         }
     }
 }
 public EditorLogic(EditorForm form, Control drawingSurface)
 {
     this.form           = form;
     this.drawingSurface = drawingSurface;
 }