34 lines
647 B
TypeScript
34 lines
647 B
TypeScript
|
import LivingThing from "./NLivingThing";
|
||
|
const {ccclass, property} = cc._decorator;
|
||
|
|
||
|
@ccclass
|
||
|
export default class NRole extends LivingThing{
|
||
|
@property(cc.Node)
|
||
|
bodyNode:cc.Node=null;
|
||
|
|
||
|
@property(cc.Node)
|
||
|
animationNode:cc.Node=null;
|
||
|
|
||
|
@property(cc.Node)
|
||
|
animationMaskNode:cc.Node=null;
|
||
|
|
||
|
@property(cc.Node)
|
||
|
shadow:cc.Node=null;
|
||
|
|
||
|
@property(cc.Node)
|
||
|
weaponNode:cc.Node=null;
|
||
|
|
||
|
@property(cc.Node)
|
||
|
horseNode:cc.Node=null;
|
||
|
|
||
|
@property(cc.Prefab)
|
||
|
avatarPrefab:cc.Prefab=null;
|
||
|
|
||
|
resId:number;
|
||
|
runType:number;
|
||
|
netInfo:any;
|
||
|
moveSpeed:number;
|
||
|
moveTiems:number;
|
||
|
teamId:number;
|
||
|
|
||
|
}
|