Remove health API
This commit is contained in:
@@ -63,14 +63,4 @@ public abstract class Actor extends Renderable
|
|||||||
i = i - 32767 - 1;
|
i = i - 32767 - 1;
|
||||||
return client.getPlayers()[i];
|
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)
|
if (opponent == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
int cur = opponent.getHealth();
|
// int cur = opponent.getHealth();
|
||||||
int max = opponent.getMaxHealth();
|
// int max = opponent.getMaxHealth();
|
||||||
|
int cur = 0, max = 0; // XXX
|
||||||
|
|
||||||
FontMetrics fm = graphics.getFontMetrics();
|
FontMetrics fm = graphics.getFontMetrics();
|
||||||
|
|
||||||
|
|||||||
@@ -46,15 +46,6 @@ public interface Actor extends Renderable
|
|||||||
@Import("overhead")
|
@Import("overhead")
|
||||||
String getOverhead();
|
String getOverhead();
|
||||||
|
|
||||||
@Import("loopCycle")
|
|
||||||
int getLoopCycle();
|
|
||||||
|
|
||||||
@Import("health")
|
|
||||||
int getHealth();
|
|
||||||
|
|
||||||
@Import("maxHealth")
|
|
||||||
int getMaxHealth();
|
|
||||||
|
|
||||||
@Import("x")
|
@Import("x")
|
||||||
int getX();
|
int getX();
|
||||||
|
|
||||||
@@ -63,7 +54,4 @@ public interface Actor extends Renderable
|
|||||||
|
|
||||||
@Import("animation")
|
@Import("animation")
|
||||||
int getAnimation();
|
int getAnimation();
|
||||||
|
|
||||||
@Import("hitSplats")
|
|
||||||
int[] getHitSplats();
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user