public override void LoadContent() { base.LoadContent(); sp = mainGame.mySpriteBatch; font = mainGame.Content.Load<SpriteFont>("Important/meirio_14"); //背景 backTexture = mainGame.Content.Load<Texture2D>("Profile/eraSelectBack"); backRectangle = new Rectangle(50, height / 100, width - 100, height * 98 / 100); //事件一覧 eventList = new ItemList<Event>( mainGame, Event.PersonSelectEvent(mainGame.person), font, new Rectangle( backRectangle.X + backRectangle.Width / 10, backRectangle.Y + backRectangle.Height / 5, backRectangle.Width * 8 / 10, backRectangle.Height * 5 / 10)); eventList.LoadContent(); //フェードインを有効にする fadeIn.isEnabled = true; }