@Override
	public void render(Graphics g) {
		move();
		g.setColor(Color.ORANGE);
		g.fillRect(x, y, 50, 50);
		if (direction == 1)
			g.drawImage(up[step], x, y, 50, 50, null);
		if (direction == 2)
			g.drawImage(right[step], x, y, 50, 50, null);
		if (direction == 3)
			g.drawImage(down[step], x, y, 50, 50, null);
		if (direction == 4)
			g.drawImage(left[step], x, y, 50, 50, null);

	}