public void drawTail(Graphics g, GameObject front) {
		Image img = null;
		int x = getMotion().getX();
		int y = getMotion().getY();
		int fx = front.getMotion().getX();
		int fy = front.getMotion().getY();
		if (x == fx){
			if (y < fy)
				img = imgTailDown;
			else if (y > fy)
				img = imgTailUp;
		} else if (y == fy){
			if (x < fx)
				img = imgTailRight;
			else if (x > fx)
				img = imgTailLeft;
		}
		getSprite().setImage(img);
	}