This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
示例#1
0
 public void Run()
 {
     game = new ReactorGame(this);
     Reactor = new REngine(game);
     game.Run();
     Dispose();
 }
示例#2
0
 internal void BloomInit(RBloomSettings settings, ReactorGame game)
 {
     _instance._bloomSettings = settings;
     _instance._bloom = new BloomComponent(game);
     game.Components.Add(_instance._bloom);
     _instance._bloom.Settings = settings;
     _instance._bloom.Enabled = false;
 }