setPassenger

public abstract boolean setPassenger(Entity passenger)

Set the passenger of getClassById vehicle.

Return

false if it could not be done for whatever reason

Parameters

passenger

The new passenger.