コード例 #1
0
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     ContentHolder.Init(Content);
     ecsEngine.Init();
     ecsEngine.SetScene(SceneType.Menu);
 }
コード例 #2
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);
            ContentHolder.Init(this);
            Room r;

            r = new Room_Main();
            r.Initialize();
            RoomManager.ChangeRoom <Room_Main>();
        }