BattleBase.ts 186 B

1234567891011121314
  1. let uuid = 0;
  2. //战斗类基类
  3. export class BattleBase {
  4. //对象id,重复利用时候是相同的
  5. uuid: number;
  6. constructor() {
  7. this.uuid = uuid++;
  8. }
  9. }