示例#1
0
 public GamePlay(GameManager gameManager)
 {
     this.gameManager = gameManager;
     inputState       = gameManager.GetInputState();
     sound            = gameManager.GetSound();
     renderer         = gameManager.GetRenderer();
 }
示例#2
0
        private bool isEnd;//シーン終了フラグ

        public GameTitle(GameManager gameManager)
        {
            this.gameManager = gameManager;
            inputState       = gameManager.GetInputState();
            sound            = gameManager.GetSound();
            renderer         = gameManager.GetRenderer();
            //ランダムは未使用
        }
示例#3
0
 public Player(Vector2 position, GameManager gameManager, ICharacterMediator mediator)
     : base(CharacterID.Player, "player", position, 24.0f, gameManager, mediator)
 {
     this.input = gameManager.GetInputState();
     this.sound = gameManager.GetSound();
 }