Exemplo n.º 1
0
 public void Reset()
 {
     //move.reset();
     coast = (SSDirector.getInstance().currentScenceController as FirstController).startCoast;
     getOnCoast(coast);
     setPos(coast.getEmptyPos());
     coast.getOnCoast(this);
 }
Exemplo n.º 2
0
 public void getOnCoast(CoastModel coastmodel)
 {
     coast = coastmodel;
     role.transform.parent = null;
     onBoat = false;
 }
Exemplo n.º 3
0
 public void getOnboat(BoatModel boat)
 {
     coast = null;
     role.transform.parent = boat.getBoat().transform;
     onBoat = true;
 }