// Changes the image of the player character ImageView to create animations for movement
public class Hero {
	public void move(String action) {
		switch direction {
				moveLeft
		}
	}
	public void moveLeft() {
	
	}
	
	public void moveRight() {
		
	}
	
	public void moveDown() {
		
	}
	
	public void jump() {
		
	}
}

// Changes the image of the player character ImageView to create animations for movement

public class Hero {
	public void move(String action) {
		switch direction {
				moveLeft
		}
	}
	public void moveLeft() {
	
	}
	
	public void moveRight() {
		
	}
	
	public void moveDown() {
		
	}
	
	public void jump() {
		
	}
}

Update Hero.java