this is a pacman game with a lady bug and i need help to getting the ghost to return itself to the ghost house after it intersects with the lady bug. So far i have done it that it sets the direction toward where the ghost house is
i have been using the codes like
if isAboveMe(getGhostHealer())
{
setDirection(UP);
move();
}
but it doesnt even move up
