squidGame/tgx-games-client/assets/scripts/SceneDef.ts

83 lines
2.5 KiB
TypeScript
Raw Permalink Normal View History

2025-02-17 21:36:37 +08:00
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 };
2025-02-07 10:49:34 +08:00
}