/// <summary> /// ゲームが実行を開始する前に必要な初期化を行います。 /// ここで、必要なサービスを照会して、関連するグラフィック以外のコンテンツを /// 読み込むことができます。base.Initialize を呼び出すと、使用するすべての /// コンポーネントが列挙されるとともに、初期化されます。 /// </summary> protected override void Initialize() { // TODO: ここに初期化ロジックを追加します。 sceneManager = new SceneManager(); this.IsMouseVisible = true; base.Initialize(); }
public GameScene(Game game, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, SceneManager owner) { this.game = game; this.graphics = graphics; this.content = game.Content; this.spriteBatch = spriteBatch; this.owner = owner; }
public GameClearScene(Game game, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, SceneManager owner) : base(game, graphics, spriteBatch, owner) { this.game = game; this.graphics = graphics; this.content = game.Content; this.spriteBatch = spriteBatch; this.owner = owner; this.param = new Parameter(); }
public CreditsScene(Game game, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, SceneManager owner) : base(game, graphics, spriteBatch, owner) { this.game = game; this.graphics = graphics; this.content = game.Content; this.spriteBatch = spriteBatch; this.owner = owner; this.param = new Parameter(); this.drawBackKeyword = "iys_credit_back"; }
public RankingScene(Game game, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, SceneManager owner) : base(game, graphics, spriteBatch, owner) { this.game = game; this.graphics = graphics; this.content = game.Content; this.spriteBatch = spriteBatch; this.owner = owner; this.param = new Parameter(); this.rankingDataList = new List<Dictionary<string, string>>(); this.drawBackKeyword = "iys_ranking_back"; }
public TutorialScene(Game game, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, SceneManager owner) : base(game, graphics, spriteBatch, owner) { this.game = game; this.graphics = graphics; this.content = game.Content; this.spriteBatch = spriteBatch; this.owner = owner; this.param = new Parameter(); this.checkCount = 0; this.drawBackKeyword = "lwbg_tutorial_back"; }
public MainScene(Game game, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, SceneManager owner) : base(game, graphics, spriteBatch, owner) { this.game = game; this.graphics = graphics; this.content = game.Content; this.spriteBatch = spriteBatch; this.owner = owner; this.param = new Parameter(); this.nowGameMainState = GameMainState.TargetRock; this.prevGameMainState = this.nowGameMainState; this.stageManager = new StageManager(this.game, this.graphics, this); this.nowStageNumber = 1; this.clearScore = 0; this.nowSelectStageMode = StageModeState.Normal; this.modeClearNumberList = new Dictionary<string, int>(); }