public void draw(Graphics2D g,float interpol) {
		g.setFont(new Font(Font.SANS_SERIF,Font.PLAIN,textSize));
		if (position == null)
			initializePosition(g);
		if (isButton) {
			g.setColor(Color.BLACK);
			g.fillRect((int)position.x, (int)position.y, (int)(dims.width), (int)(dims.height));
			g.setColor(borderColor);
			g.drawRect((int)position.x, (int)position.y, (int)(dims.width), (int)(dims.height));
		}
		g.setColor(textColor);
		g.drawString(text,position.x + dims.width/32,position.y+3*dims.height/4);
	}