public void Initialize() { isEndFlag = false; StageState.sceneNumber = 1; gameObjectManager.Initialize(); map = new Map(GameDevice.Instance()); map.Load("Title.csv", "./csv/"); gameObjectManager.Add(map); //最初に回っている player3 = new Player3(new Vector2(128 * 6 + 15, 128 * 5 + 15), GameDevice.Instance(), gameObjectManager); gameObjectManager.Add(player3); //最初に止まっている player4 = new Player4(new Vector2(128 * 7 + 18, 128 * 5 + 18), GameDevice.Instance(), gameObjectManager); gameObjectManager.Add(player4); player3.SetPos(player4.GetPosition()); stop3 = player3.IsStop(); stop4 = player4.IsStop(); metoronome.Initialize(); metoronome.SetBpm(60); motion.Add(0, new Rectangle(64 * 0, 64 * 0, 64, 64)); motion.Add(1, new Rectangle(64 * 1, 64 * 0, 64, 64)); motion.Add(2, new Rectangle(64 * 0, 64 * 1, 64, 64)); motion.Add(3, new Rectangle(64 * 1, 64 * 1, 64, 64)); motion.Initialize(new Range(0, 3), new CountDownTimer(0.1f)); }