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