//---------------------------------------------------------------------------- private Copy CreateCopy(eSceneType Type, StageLayer layer) { Copy copy = null; switch (Type) { case eSceneType.CITY_SCENE: break; case eSceneType.BATTLE_SCENE: break; case eSceneType.CREATEROLE_SCENE: break; case eSceneType.NEWBIE_SCENE_OLD: break; case eSceneType.PVR_SCENE: break; case eSceneType.PVP_SCENE: break; case eSceneType.LOBBY_SCENE: copy = new LobbyStage(layer); break; case eSceneType.ACTIVE_SCENE: break; case eSceneType.Elimit_SCENE: break; case eSceneType.NEWBIE_SCENE: break; case eSceneType.QUICKRUNGAME_SCENE: break; case eSceneType.COMMON_SCENE: break; case eSceneType.OFFLINEPK_SCENE: break; case eSceneType.KOF_SCENE: break; case eSceneType.PROMOTION_SCENE: break; case eSceneType.PRELIM_SCENE: break; case eSceneType.MOBA: break; case eSceneType.TSPORTS: break; case eSceneType.VIDEO_SCENE: break; case eSceneType.UNKNOWN_REGION: break; default: break; } return(copy); }
//---------------------------------------------------------------------------- public void SetCopy(Copy copy) { m_curCopy = copy; m_listStageRes.Clear(); m_bInit = false; }
//---------------------------------------------------------------------------- public static Scene CreateScene(eSceneType Type, Copy copy) { Scene scene = null; switch (Type) { case eSceneType.CITY_SCENE: break; case eSceneType.BATTLE_SCENE: break; case eSceneType.CREATEROLE_SCENE: break; case eSceneType.NEWBIE_SCENE_OLD: break; case eSceneType.PVR_SCENE: break; case eSceneType.PVP_SCENE: break; case eSceneType.LOBBY_SCENE: scene = new LobbyScene(copy); break; case eSceneType.ACTIVE_SCENE: break; case eSceneType.Elimit_SCENE: break; case eSceneType.NEWBIE_SCENE: break; case eSceneType.QUICKRUNGAME_SCENE: break; case eSceneType.COMMON_SCENE: break; case eSceneType.OFFLINEPK_SCENE: break; case eSceneType.KOF_SCENE: break; case eSceneType.PROMOTION_SCENE: break; case eSceneType.PRELIM_SCENE: break; case eSceneType.MOBA: break; case eSceneType.TSPORTS: break; case eSceneType.VIDEO_SCENE: break; case eSceneType.UNKNOWN_REGION: break; default: break; } return(scene); }