public void paintTriangle(Graphics g,int x,int y,int size)
		{
			for (int i=0;i<size;i++)
			{
				switch (facing)
				{
					case UP:
						g.drawLine(x-i,y-size/2+i,x+i,y-size/2+i);
						break;
					case DOWN:
						g.drawLine(x-i,y+size/2-i,x+i,y+size/2-i);
						break;
					case LEFT:
						g.drawLine(x-size/2+i,y-i,x-size/2+i,y+i);
						break;
					case RIGHT:
						g.drawLine(x+size/2-i,y-i,x+size/2-i,y+i);
						break;
				}
			}
		}