// 重新开始 public void reset() { movingScript.reset(); coastController = (Director.getInstance().currentSceneController as FirstController).fromCoast; getOnCoast(coastController); setPosition(coastController.getEmptyPosition()); coastController.getOnCoast(this); }
public void reset() { movingScript.reset(); if (to_from == -1) { Move(); } passenger = new MyCharacterController[2]; }
// public void Move() { // if (to_from == -1) { // movingScript.setDestination(from_pos); // to_from = 1; // } // else { // movingScript.setDestination(to_pos); // to_from = -1; // } // } public void reset() { movingScript.reset(); if (to_from == -1) { boatAction.boatMove(this); } passenger = new MyCharacterController[2]; }