Exemple #1
0
 public DebugOverlay(BaseGame game)
 {
     this.game = game;
     Instance  = this;
 }
 public Camera(BaseGame game) : base()
 {
     this.game = game;
     this.Phy  = new Physics(0);
     this.Zoom = 1.0f;
 }
 public Scenes(BaseGame game)
 {
     this.game   = game;
     this.scenes = new Dictionary <string, Scene>();
     Current     = null;
 }
Exemple #4
0
 public LiveContentManager(BaseGame game) : base(game.Services)
 {
     this.game          = game;
     this.RootDirectory = "Content";
     this.AssetLookup   = new AssetLookup(this);
 }
Exemple #5
0
 public Fonts(BaseGame game)
 {
     this.game  = game;
     this.fonts = new Dictionary <Font, SpriteFont>();
 }