2022-11-27 23:23:47 +08:00
|
|
|
export enum FsmParamTypeEnum {
|
2022-12-08 21:14:02 +08:00
|
|
|
Number = "Number",
|
|
|
|
Trigger = "Trigger",
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
2022-12-08 21:14:02 +08:00
|
|
|
export enum ParamsNameEnum {
|
|
|
|
Idle = "Idle",
|
|
|
|
Run = "Run",
|
|
|
|
Attack = "Attack",
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
2022-12-08 21:14:02 +08:00
|
|
|
export enum EntityStateEnum {
|
|
|
|
Idle = "Idle",
|
|
|
|
Run = "Run",
|
|
|
|
Attack = "Attack",
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum EventEnum {
|
2022-12-08 21:14:02 +08:00
|
|
|
WeaponShoot = "WeaponShoot",
|
|
|
|
BulletBorn = "BulletBorn",
|
|
|
|
ExplosionBorn = "ExplosionBorn",
|
|
|
|
RoomJoin = "RoomJoin",
|
|
|
|
GameStart = "GameStart",
|
|
|
|
GameEnd = "GameEnd",
|
|
|
|
ClientSync = "ClientSync",
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum PrefabPathEnum {
|
2022-12-08 21:14:02 +08:00
|
|
|
Map1 = "prefab/Map1",
|
|
|
|
Actor1 = "prefab/Actor",
|
|
|
|
Actor2 = "prefab/Actor",
|
|
|
|
Weapon1 = "prefab/Weapon1",
|
|
|
|
Weapon2 = "prefab/Weapon2",
|
|
|
|
Bullet1 = "prefab/Bullet",
|
|
|
|
Bullet2 = "prefab/Bullet",
|
|
|
|
Explosion = "prefab/Explosion",
|
|
|
|
JoyStick = "prefab/JoyStick",
|
|
|
|
Shoot = "prefab/Shoot",
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum TexturePathEnum {
|
2022-12-08 21:14:02 +08:00
|
|
|
Actor1Idle = "texture/actor/actor1/idle",
|
|
|
|
Actor1Run = "texture/actor/actor1/run",
|
|
|
|
Actor2Idle = "texture/actor/actor2/idle",
|
|
|
|
Actor2Run = "texture/actor/actor2/run",
|
|
|
|
Weapon1Idle = "texture/weapon/weapon1/idle",
|
|
|
|
Weapon1Attack = "texture/weapon/weapon1/attack",
|
|
|
|
Weapon2Idle = "texture/weapon/weapon2/idle",
|
|
|
|
Weapon2Attack = "texture/weapon/weapon2/attack",
|
|
|
|
Bullet1Idle = "texture/bullet/bullet1",
|
|
|
|
Bullet2Idle = "texture/bullet/bullet2",
|
|
|
|
ExplosionIdle = "texture/explosion",
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
2022-12-01 22:26:41 +08:00
|
|
|
export enum SceneEnum {
|
2022-12-08 21:14:02 +08:00
|
|
|
Login = "Login",
|
|
|
|
Hall = "Hall",
|
|
|
|
Room = "Room",
|
|
|
|
Battle = "Battle",
|
|
|
|
}
|