Пример #1
0
 public MoveModel1(DrawableModel model, GameModel gameModel, Game1 game, EGGEditor eggEditor)
 {
     InitializeComponent();
     this.model     = model;
     this.gameModel = gameModel;
     this.game      = game;
     this.eggEditor = eggEditor;
 }
Пример #2
0
 public MoveModel1(DrawableModel model, GameModel gameModel, Game1 game, EGGEditor eggEditor)
 {
     InitializeComponent();
     this.model = model;
     this.gameModel = gameModel;
     this.game = game;
     this.eggEditor = eggEditor;
 }
Пример #3
0
 public Game1(EGGEditor form)
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     input = new InputHelper();
     Components.Add(new GamerServicesComponent(this));
     this.drawSurface = form.getDrawSurface();
     this.form = form;
     graphics.PreparingDeviceSettings += new EventHandler<PreparingDeviceSettingsEventArgs>(graphics_PreparingDeviceSettings);
     System.Windows.Forms.Control.FromHandle((this.Window.Handle)).VisibleChanged += new EventHandler(Game1_VisibleChanged);
 }
Пример #4
0
 public Game1(EGGEditor form)
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     input = new InputHelper();
     Components.Add(new GamerServicesComponent(this));
     this.drawSurface = form.getDrawSurface();
     this.form        = form;
     graphics.PreparingDeviceSettings += new EventHandler <PreparingDeviceSettingsEventArgs>(graphics_PreparingDeviceSettings);
     System.Windows.Forms.Control.FromHandle((this.Window.Handle)).VisibleChanged += new EventHandler(Game1_VisibleChanged);
 }
Пример #5
0
 public NewLevel(Game1 game, EGGEditor eggEditor)
 {
     InitializeComponent();
     this.eggEditor = eggEditor;
     this.game      = game;
 }
Пример #6
0
 static void Main(string[] args)
 {
     EGGEditor form = new EGGEditor();
 }
Пример #7
0
 public NewLevel(Game1 game, EGGEditor eggEditor)
 {
     InitializeComponent();
     this.eggEditor = eggEditor;
     this.game = game;
 }
Пример #8
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     EGGEditor form = new EGGEditor();
 }