@Override
	public void render() {
		GL11.glPushMatrix();
		GL11.glScaled(getScale(), -getScale(), 1);
		org.newdawn.slick.Color utilColor = new org.newdawn.slick.Color((int) (getColor().getRed() * 255), (int) (getColor().getGreen() * 255), (int) (getColor().getBlue() * 255), (int) (getColor().getAlpha() * 255));
		
		for (int i = 0; i < this.lines.length; ++i) {
			switch (this.alignment) {
			
			case LEFT:
				this.ttf.drawString((float) (-this.width / 2), (float) (-this.height / 2 + i * ttf.getHeight() * LINE_SPACE), this.lines[i].toString(), utilColor);						
				break;
				
			case CENTER: {
				float textWidth = this.ttf.getWidth(this.lines[i].toString());
				this.ttf.drawString(-textWidth / 2, (float) (-this.height / 2 + i * ttf.getHeight() * LINE_SPACE), this.lines[i].toString(), utilColor);										
				break;
			}
				
			case RIGHT: {
				float textWidth = this.ttf.getWidth(this.lines[i].toString());
				this.ttf.drawString((float) (this.width / 2) - textWidth, (float) (-this.height / 2 + i * ttf.getHeight() * LINE_SPACE), this.lines[i].toString(), utilColor);						
			}
			
			}
		}
		GL11.glPopMatrix();
	}