import { ModuleDef } from "./ModuleDef"; export class SceneDef { /** * @en start scene, must be loaded from this scene * @zh 首场景,必须从这个场景启动 */ public static START = { name: 'start', bundle: 'main' }; /** * @en login scene * @zh 登录场景 * */ public static LOGIN = { name: 'login', bundle: ModuleDef.BASIC }; /** * @en login scene , after login, will jump to this scene * @zh 主大厅场景,登录成功后会首先进入这个场景 */ public static LOBBY = { name: 'lobby', bundle: ModuleDef.BASIC }; /** * @en create role scene, after login, if user has no role, will jump to this scene * @zh 创建角色场景,登录成功后如果没有创建过角色,会跳转到此场景 **/ public static CREATE_ROLE = { name: 'create_role', bundle: ModuleDef.BASIC }; /** * @en lobby scene of billiards * @zh 台球大厅场景 **/ public static LOBBY_BILLIARDS = { name: 'lobby_billiards', bundle: ModuleDef.BILLIARDS }; /** * @en game scene of billiards * @zh 台球游戏场景 * */ public static BILLIARDS = { name: 'game_billiards', bundle: ModuleDef.BILLIARDS }; /** * @en lobby scene of gomoku * @zh 五子棋大厅场景 * */ public static LOBBY_GOMOKU = { name: 'lobby_gomoku', bundle: ModuleDef.GOMOKU }; /** * @en game scene of gomoku * @zh 子五棋游戏场景 **/ public static GOMOKU = { name: 'game_gomoku', bundle: ModuleDef.GOMOKU }; /** * @en lobby scene of tank * @zh 坦克大厅场景 */ public static LOBBY_TANK = { name: 'lobby_tank', bundle: ModuleDef.TANK }; /** * @en game scene of tank * @zh 坦克游戏场景 **/ public static TANK = { name: 'game_tank', bundle: ModuleDef.TANK }; /** * @en lobby scene of kingtd * @zh 塔防大厅场景 */ public static LobbyKingTD ={ name: 'lobby_kingtd', bundle: ModuleDef.KingTD}; /** * @en game scene of kingtd * @zh 塔防游戏场景 */ public static KingTD ={ name: 'game_kingtd', bundle: ModuleDef.KingTD}; /** * @en lobby scene of arean * @zh 斗蛐蛐大厅场景 */ public static LOBBY_AREAN = { name: 'lobby_arean', bundle: ModuleDef.Arean }; /** * @en lobby scene of arean * @zh 斗蛐蛐游戏场景 */ public static Arean = { name: 'game_arean', bundle: ModuleDef.Arean }; }