public void render(Graphics2D g){
		g.setColor(Color.GRAY);
		g.drawRect(position.x, position.y, 50, 50);
		
		switch(direction){
		case 1:
			g.setColor(Color.RED);
			g.fillRect(position.x, position.y, 51, 12);
			break;
		case 2:
			g.setColor(Color.GREEN);
			g.fillRect(position.x + 38, position.y, 13, 51);
			break;
		case 3:
			g.setColor(Color.BLUE);
			g.fillRect(position.x, position.y + 38, 51, 13);
			break;
		case 4:
			g.setColor(Color.YELLOW);
			g.fillRect(position.x, position.y, 12, 51);
			break;
		}
	}