Remove health API
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user