2022-11-27 23:23:47 +08:00
|
|
|
export enum FsmParamTypeEnum {
|
|
|
|
Number = 'Number',
|
|
|
|
Trigger = 'Trigger',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum EntityStateEnum {
|
|
|
|
Idle = 'Idle',
|
|
|
|
Run = 'Run',
|
|
|
|
Attack = 'Attack',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum ParamsNameEnum {
|
|
|
|
Idle = 'Idle',
|
|
|
|
Run = 'Run',
|
|
|
|
Attack = 'Attack',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum EventEnum {
|
|
|
|
WeaponShoot = 'WeaponShoot',
|
2022-12-01 22:26:41 +08:00
|
|
|
BulletBorn = 'BulletBorn',
|
|
|
|
ExplosionBorn = 'ExplosionBorn',
|
|
|
|
RoomJoin = 'RoomJoin',
|
|
|
|
GameStart = 'GameStart',
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum PrefabPathEnum {
|
|
|
|
Map1 = 'prefab/Map1',
|
2022-12-03 20:06:57 +08:00
|
|
|
Actor1 = 'prefab/Actor',
|
|
|
|
Actor2 = 'prefab/Actor',
|
2022-11-27 23:23:47 +08:00
|
|
|
Weapon1 = 'prefab/Weapon1',
|
|
|
|
Weapon2 = 'prefab/Weapon2',
|
|
|
|
Bullet1 = 'prefab/Bullet',
|
|
|
|
Bullet2 = 'prefab/Bullet',
|
|
|
|
Explosion = 'prefab/Explosion',
|
|
|
|
JoyStick = 'prefab/JoyStick',
|
|
|
|
Shoot = 'prefab/Shoot',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum TexturePathEnum {
|
2022-12-03 20:06:57 +08:00
|
|
|
Actor1Idle = 'texture/actor/actor1/idle',
|
|
|
|
Actor1Run = 'texture/actor/actor1/run',
|
|
|
|
Actor2Idle = 'texture/actor/actor2/idle',
|
|
|
|
Actor2Run = 'texture/actor/actor2/run',
|
2022-11-27 23:23:47 +08:00
|
|
|
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-12-01 22:26:41 +08:00
|
|
|
export enum SceneEnum {
|
|
|
|
Login = 'Login',
|
|
|
|
Hall = 'Hall',
|
|
|
|
Room = 'Room',
|
|
|
|
Battle = 'Battle',
|
2022-11-27 23:23:47 +08:00
|
|
|
}
|