ddd
This commit is contained in:
@@ -16,12 +16,14 @@ export class MonsterModelComp extends ecs.Comp {
|
||||
|
||||
/** 角色名 */
|
||||
name: string = "monster";
|
||||
|
||||
/** speed */
|
||||
speed: number = 0;
|
||||
/** 动画名资源 */
|
||||
anim: string = "monster";
|
||||
|
||||
reset() {
|
||||
this.id = -1;
|
||||
this.speed = 0;
|
||||
this.name = "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user