@Override
public void drawText() {
drawCentered(GUIResources.getInstance().getFont(player.getColor()), strMetal);
BitmapFont font = GUIResources.getInstance().getFont(GUIResources.FONT_SMALL_WHITE);
TextBounds b = font.getBounds(strDeltaA);
draw(font, strDeltaA, getX() + getWidth() - b.width - 4, getY() + getHeight() - b.height - 4);
b = font.getBounds(strDeltaR);
draw(font, strDeltaR, getX() + getWidth() - b.width - 4, getY() + 4);
//draw(, strMetal, getX() + getWidth() / 2 - 20, getY() + halfHeight + halfHeight / 2 + 7);
//draw(GUIResources.getInstance().getFont(GUIResources.FONT_STANDARD_WHITE), strDelta, getX() + getWidth() / 2 - 10, getY() + halfHeight / 2 + 7);
}
MetalBar.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:BASToD
作者:
评论列表
文章目录