mirror of
https://github.com/kirikayakazuto/CocosCreator_ECS
synced 2024-12-31 22:18:27 +00:00
16 lines
357 B
TypeScript
16 lines
357 B
TypeScript
import { ComType } from "../lib/Const";
|
|
import { ECSComponent } from "../lib/ECSComponent";
|
|
|
|
|
|
@ECSComponent(ComType.ComRoleConfig)
|
|
export class ComRoleConfig {
|
|
public team: number;
|
|
public maxHP: number;
|
|
public lastHP: number;
|
|
public nowHP: number;
|
|
public HPDirty: boolean;
|
|
|
|
public attack: number;
|
|
|
|
public moveSpeed: number;
|
|
} |