first
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "2fc06e2a-6834-4ce6-9a7b-96eae66f0abe",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "d299c6b5-6424-4c27-ab35-013e8ad0c433",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "1ca33287-9c39-44a8-b8dd-c6e0c21dd8a7",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
18
assets/script/game/role/model/RoleEnum.ts
Normal file
18
assets/script/game/role/model/RoleEnum.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* @Author: dgflash
|
||||
* @Date: 2022-01-26 14:14:34
|
||||
* @LastEditors: dgflash
|
||||
* @LastEditTime: 2022-01-27 15:49:36
|
||||
*/
|
||||
|
||||
/** 角色动作名 */
|
||||
export enum RoleAnimatorType {
|
||||
/** 待机 */
|
||||
Idle = "Idle",
|
||||
/** 攻击 */
|
||||
Attack = "Attack",
|
||||
/** 受击 */
|
||||
Hurt = "Hurt",
|
||||
/** 死亡 */
|
||||
Dead = "Dead"
|
||||
}
|
||||
9
assets/script/game/role/model/RoleEnum.ts.meta
Normal file
9
assets/script/game/role/model/RoleEnum.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "a8fd6149-fa4b-4b2c-83c0-c08b3813b9f7",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
9
assets/script/game/role/model/RoleEquipModelComp.ts.meta
Normal file
9
assets/script/game/role/model/RoleEquipModelComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "5c21f8a7-8fd1-4845-a777-a2e03256526b",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "b53c6b75-188b-46ae-93a9-4c1ecd6009c8",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
27
assets/script/game/role/model/RoleModelComp.ts
Normal file
27
assets/script/game/role/model/RoleModelComp.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* @Author: dgflash
|
||||
* @Date: 2021-11-18 15:56:01
|
||||
* @LastEditors: dgflash
|
||||
* @LastEditTime: 2022-08-17 13:43:25
|
||||
*/
|
||||
import { ecs } from "../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
|
||||
/**
|
||||
* 角色属性数据
|
||||
*/
|
||||
@ecs.register('RoleModel')
|
||||
export class RoleModelComp extends ecs.Comp {
|
||||
/** 角色编号 */
|
||||
id: number = -1;
|
||||
|
||||
/** 角色名 */
|
||||
name: string = "oops-framework";
|
||||
|
||||
/** 动画名资源 */
|
||||
anim: string = "model1";
|
||||
|
||||
reset() {
|
||||
this.id = -1;
|
||||
this.name = "";
|
||||
}
|
||||
}
|
||||
9
assets/script/game/role/model/RoleModelComp.ts.meta
Normal file
9
assets/script/game/role/model/RoleModelComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "0b31330a-261d-4b13-a0d5-15d2727b1dbd",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "58956230-0127-4793-ad43-621ceedb7d25",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
9
assets/script/game/role/model/RoleSkillModelComp.ts.meta
Normal file
9
assets/script/game/role/model/RoleSkillModelComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "25e1a634-f8fe-44ca-9650-0d287532b566",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user