Beispiel #1
0
 public void getOnBoat(BoatController boatCtrl)
 {
     character.transform.parent = boatCtrl.getGameobj().transform;
     moveableScript.setDestination(boatCtrl.getEmptyPosition());
     _isOnBoat = true;
 }
Beispiel #2
0
 public void getOnBoat(BoatController boatCtrl)
 {
     coastController            = null;
     character.transform.parent = boatCtrl.getGameobj().transform;
     _isOnBoat = true;
 }
        public void moveBoat(BoatController boat)
        {
            MoveToAction action = MoveToAction.getAction(boat.getDestination(), boat.movingSpeed);

            this.addAction(boat.getGameobj(), action, this);
        }