// 根据传入的控制器生成裁判类。 public Game(Boat boat, Coast leftCoast, Coast rightCoast) { this.boat = boat; this.leftCoast = leftCoast; this.rightCoast = rightCoast; this.state = new State(0, 0, 3, 3, false); }
// 根据传入的控制器生成裁判类。 public Game(Boat boat, Coast leftCoast, Coast rightCoast) { this.boat = boat; this.leftCoast = leftCoast; this.rightCoast = rightCoast; }