public void getOnBoat(boatModel boat) { land.deleteRole(this.getName()); this.land = null; this.moveTo(boat.getEmptyPosistion()); boat.addRole(this); role.transform.parent = boat.getBoat().transform; onBoat = true; }
public void setBoat(boatModel boat) { this.boat = boat; }
public void getOnBoat(boatModel boat) { this.land = null; role.transform.parent = boat.getBoat().transform; onBoat = true; }