()
| 26 | } |
| 27 | |
| 28 | public void draw() { |
| 29 | MinecraftFactory.getVars().drawString(MinecraftFactory.getVars().shortenToWidth(string, width - 14), x + 14, y + 1); |
| 30 | Gui.drawRect(x, y, x + 10, y + 10, 0xffffffff); |
| 31 | if (selected) { |
| 32 | Gui.drawRect(x + 1, y + 1, x + 9, y + 9, 0xff000000); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | public void setSelected(boolean selected) { |
| 37 | this.selected = selected; |
nothing calls this directly
no test coverage detected