public void boatMove() { if (model.getTFflag() == 1) { //move.SetDestination (model.getToPos()); actionManager.moveBoat(model.getGameObject(), model.getToPos(), 20); model.setTFflag(-1); } else { //move.SetDestination (model.getFromPos()); actionManager.moveBoat(model.getGameObject(), model.getFromPos(), 20); model.setTFflag(1); } }
//船移动 public void shipMove() { //有人在船上才能移动 if (shipEmpty() != 2) { if (s1.state == State.Left) { s1.state = State.LTR; actionManager.moveBoat(ship_obj, s1, shipRightPostion, speed);//动作分离 } else if (s1.state == State.Right) { s1.state = State.RTL; actionManager.moveBoat(ship_obj, s1, shipLeftPostion, speed);//动作分离 } } }
public void MoveBoat() //移动船 { if (boat.IsEmpty() || user_gui.sign != 0) { return; } actionManager.moveBoat(boat.getGameObject(), boat.BoatMove(), boat.move_speed); //动作分离版本改变 user_gui.sign = Check(); }
public void ClickBoat() { if (boat.isEmpty()) { return; } actionManager.moveBoat(boat.getGameObject(), boat.BoatMoveToPosition(), boat.move_speed); userGUI.status = Judger.getInstance().check(fromCoast, toCoast, boat); }
public void MoveBoat() { if (boat.IsEmpty() || user_gui.sign != 0) { return; } actionManager.moveBoat(boat.getGameObject(), boat.BoatMove(), boat.move_speed); user_gui.sign = judge.Check(); }
//change in v2 public void moveBoat() { if (boat.isEmpty()) { return; } //action Vector3 target = boat.getBoatFlag() == 1 ? boat.getEndPos() : boat.getStartPos(); actionManager.moveBoat(boat.getBoat(), target, 100 * Time.deltaTime); boat.setBoatFlag(-boat.getBoatFlag()); }
public void moveboat() { if (Director.cn_move == 1) { return; } if (boat.IfEmpty()) { return; } actionManager.moveBoat(boat.getGameObject(), boat.boatMove(), boat.move_speed); //check whether game over user.if_win_or_not = checkGameOver(); }
/* return myJudge.getStatus(); * }*/ public void MoveBoat() //移动船 { if (boat.IsEmpty() || user_gui.sign != 0) { return; } actionManager.moveBoat(boat.getGameObject(), boat.BoatMoveToPosition(), boat.move_speed); //动作分离版本改变 user_gui.sign = Check(); /*if (user_gui.sign == 1) * { * for (int i = 0; i < 3; i++) * { * roles[i].PlayGameOver(); * roles[i + 3].PlayGameOver(); * } * }*///f**k }
public void MoveBoat()//移动船 { if (boat.IsEmpty() || user_gui.sign != 0) { return; } //boat.BoatMove(); //动作分离版本改变 actionManager.moveBoat(boat.getGameObject(), boat.BoatMoveToPosition(), boat.move_speed); user_gui.sign = judge.Check((start_land.GetRoleNum())[0], (start_land.GetRoleNum())[1], (end_land.GetRoleNum())[0], (end_land.GetRoleNum())[1]); if (user_gui.sign == 1) { for (int i = 0; i < RoleAmount; i++) { roles[i].PlayGameOver(); roles[i + RoleAmount].PlayGameOver(); } } }