setOwner

public abstract void setOwner(AnimalTamer tamer)

Set this to be owned by given AnimalTamer.

If the owner is not null, this will be tamed and will have any current path it is following removed. If the owner is set to null, this will be untamed, and the current owner removed.

Parameters

tamer

the AnimalTamer who should own this