Beispiel #1
0
 protected override void Initialize()
 {
     sman = new ScreenManager(this);
     Components.Add(sman);
     graphics.PreferMultiSampling = true;
     NameGenerator.init();
     Helpfile.init();
     FileEntry.init(Content);
     PatternDrawer.init(Content);
     ProgramList.init();
     Cube3D.Initilize(graphics.GraphicsDevice);
     base.Initialize();
 }
Beispiel #2
0
 protected override void Initialize()
 {
     this.sman = new ScreenManager((Game)this);
     this.Components.Add((IGameComponent)this.sman);
     this.graphics.PreferMultiSampling = true;
     NameGenerator.init();
     PatternDrawer.init(this.Content);
     ProgramList.init();
     Cube3D.Initilize(this.graphics.GraphicsDevice);
     AlienwareFXManager.Init();
     this.graphics.GraphicsDevice.DeviceLost += new EventHandler <EventArgs>(this.GraphicsDevice_DeviceLost);
     base.Initialize();
 }