mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-10-09 00:26:04 +00:00
Test values
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Component, _decorator } from "cc";
|
||||
import { UnitHealth } from "../UnitHealth";
|
||||
import { UnitHealth } from "../../UnitHealth";
|
||||
import { PlayerHealthUI } from "./PlayerHealthUI";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
|
@@ -40,5 +40,7 @@ export class UnitLevel {
|
||||
this.currentLevel++;
|
||||
|
||||
this.levelUpEvent.trigger(this.currentLevel);
|
||||
|
||||
this.tryLevelUp();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user