Remove health API

This commit is contained in:
Adam
2016-07-14 19:37:28 -04:00
parent aae3cb5316
commit e40e6feab1
3 changed files with 3 additions and 24 deletions

View File

@@ -63,14 +63,4 @@ public abstract class Actor extends Renderable
i = i - 32767 - 1;
return client.getPlayers()[i];
}
public int getHealth()
{
return actor.getHealth();
}
public int getMaxHealth()
{
return actor.getMaxHealth();
}
}

View File

@@ -80,8 +80,9 @@ class OpponentInfoOverlay extends Overlay
if (opponent == null)
return null;
int cur = opponent.getHealth();
int max = opponent.getMaxHealth();
// int cur = opponent.getHealth();
// int max = opponent.getMaxHealth();
int cur = 0, max = 0; // XXX
FontMetrics fm = graphics.getFontMetrics();

View File

@@ -46,15 +46,6 @@ public interface Actor extends Renderable
@Import("overhead")
String getOverhead();
@Import("loopCycle")
int getLoopCycle();
@Import("health")
int getHealth();
@Import("maxHealth")
int getMaxHealth();
@Import("x")
int getX();
@@ -63,7 +54,4 @@ public interface Actor extends Renderable
@Import("animation")
int getAnimation();
@Import("hitSplats")
int[] getHitSplats();
}