Hi,
I've got a net which catches actors. I've got 3 actors. When the net is at the same grid as one of the 3 actors it has to hold the actor and move it for 5 grids. The movement of the net is done with the arrow keys. Do any of you know the method for holding and moving around an actor?
At the moment they actor gets eaten when the net catches the actor but that has to be changed to holding the actor and moving it around for 5 movements.
public void holdWolf()
{
if (canSee(Wolf.class))
{
eat(Wolf.class);
wolfsEaten = wolfsEaten - 1;
}
}
