Skip to content

Commit

Permalink
Added comments for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
meganroxburgh committed Sep 9, 2023
1 parent b581bc9 commit cd4895e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void start() {
startTime = timeSource.getTime();
this.mobPosition = owner.getEntity().getCenterPosition();
this.maxRangePosition.set(0, mobPosition.y);
owner.getEntity().getEvents().trigger(IDLE);
// owner.getEntity().getEvents().trigger(IDLE);
endTime = timeSource.getTime() + (INTERVAL * 500);
}

Expand All @@ -91,6 +91,7 @@ public void update() {
public void updateMobState() {
// TouchAttackComponent attackComp = owner.getEntity().getComponent(TouchAttackComponent.class);
CombatStatsComponent statsComp = owner.getEntity().getComponent(CombatStatsComponent.class);
System.out.println(owner.getEntity().getId() + " health: " + statsComp.getHealth());
// if (statsComp != null) {
// System.out.println("is the target visible " + isTargetVisible());
// }
Expand Down

0 comments on commit cd4895e

Please sign in to comment.