public GamePlay(GameManager gameManager) { this.gameManager = gameManager; inputState = gameManager.GetInputState(); sound = gameManager.GetSound(); renderer = gameManager.GetRenderer(); }
private bool isEnd;//シーン終了フラグ public GameTitle(GameManager gameManager) { this.gameManager = gameManager; inputState = gameManager.GetInputState(); sound = gameManager.GetSound(); renderer = gameManager.GetRenderer(); //ランダムは未使用 }
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(); }