예제 #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>();
        }