Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void drawComponent(int mouseX, int mouseY) {
- if (string == null)
- return;
- GlStateManager.pushMatrix();
- GlStateManager.rotate(angle, 0, 0, angle);
- if (angle < 180) {
- GlStateManager.translate(-angle / 1.5, -angle / 4, 0);
- } else {
- GlStateManager.translate(-angle / 15, angle / 40, 0);
- }
- fr.drawChat(string, getBounds().x, getBounds().y, true);
- GlStateManager.popMatrix();
- super.drawComponent(mouseX, mouseY);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement