public void moveEast()
	{
		
		boolean [] temp = WhenShitHits.Enemy2Setpiece(this, 3);
		
		
			if(temp[1] == false)
			{
				
				if(direction != 3)
				{
					
					direction = 3;
					anamationFrame  = 0;
					
					pic = eastAnamation()[anamationFrame];
					
					animate = false;
					
					if(animationTimer.isRunning())
					{
						
						animationTimer.restart();
					
					}
					else
					{
						
						animationTimer.start();
						
					}
					
				}
				else
				{
					
					if(animate == true)
					{
						
						if((anamationFrame + 1) < eastAnamation().length)
						{
							
							anamationFrame++;
							
						}
						else
						{
							
							anamationFrame = 0;
							
						}
						
						pic = eastAnamation()[anamationFrame];
						
						animate = false;
				
					}

					
				}
				
				
				xPos = xPos + speed;
	
			}
			else if(temp[0] == false)
			{
				
				moveNorth();
				
			}
			else if(temp[2] == false)
			{
				
				moveSouth();
				
			}
			else
			{
				
				System.out.println("unable to proceed");
				
			}
		
	}