mirror of
https://github.com/kirikayakazuto/CocosCreator_ECS
synced 2025-01-14 06:51:55 +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;
|
|
} |