public boolean canDoDamage(Character other) { return attackPhase == 2 && progress > whackBeginTime + whackHurtTime && !hasHit && other.getHitbox().intersects(hitBox); }