コード例 #1
0
ファイル: GameView.cs プロジェクト: ks222rt/1DV437
 public GameView(SpriteBatch spriteBatch, Camera camera, GameModel model)
 {
     this.spriteBatch = spriteBatch;
     this.camera = camera;
     this.gModel = model;
     bgView = new BackgroundView(camera.getScaleXY());
 }
コード例 #2
0
ファイル: GameController.cs プロジェクト: ks222rt/1DV437
 private void InitateGame()
 {
     this.gameModel = new GameModel(content);
     this.gameView = new GameView(spriteBatch, camera, gameModel);
     LoadContent();
 }