monster add

This commit is contained in:
2024-07-22 09:47:28 +08:00
parent 064b6bf1ae
commit e3b5f4bd05
31 changed files with 4417 additions and 17 deletions

View 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('MonsterModel')
export class MonsterModelComp extends ecs.Comp {
/** 角色编号 */
id: number = -1;
/** 角色名 */
name: string = "monster";
/** 动画名资源 */
anim: string = "monster";
reset() {
this.id = -1;
this.name = "";
}
}