public void render(Graphics g){
		if(state == 1){
			g.setColor(Color.RED);
		}
		if(state == 2){
			g.setColor(Color.GREEN);
		}
		if(state == 3){
			g.setColor(Color.BLUE);
		}
		if(state == 4){
			g.setColor(Color.YELLOW);
		}
		g.fillRect(position.x, position.y, 20, 20);
	}