예제 #1
0
        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;
        }
예제 #2
0
 public void setBoat(boatModel boat)
 {
     this.boat = boat;
 }
예제 #3
0
 public void getOnBoat(boatModel boat)
 {
     this.land             = null;
     role.transform.parent = boat.getBoat().transform;
     onBoat = true;
 }