Esempio n. 1
0
 public void reset()
 {
     land = (SSDirector.getInstance().CurrentSceneController as Controller).startLand;
     boat.deleteRole(this.getName());
     role.transform.position = land.getEmptyPosition();
     land.addRole(this);
     getOnLand(land);
 }
Esempio n. 2
0
        public void getOnLand(landModel land)
        {
            boat.deleteRole(this.getName());

            this.moveTo(land.getEmptyPosition());
            land.addRole(this);
            role.transform.parent = null;
            this.land             = land;

            onBoat = false;
        }