private void drawHelper(SpriteBatch sb, int i)
{
if (this.entries[i].getX() < this.getWidth() && this.entries[i].getY() < this.getHeight()
&& this.entries[i].getX() > 0 && this.entries[i].getY() > 0)
{
Color c = this.getEntryColor();
if (this.cursor == i && this.isHighlighted()) c = this.getEntryHighlightedColor();
this.entries[i].draw(sb, this.getX(), this.getY(), font, c);
}
}