示例#1
0
  public void setCurrentHall(IHall currentHall) {
    this.currentHall = currentHall;

    if (player != null) {
      player.setCurrentHall(currentHall);
    }
  }
示例#2
0
  public void setPlayer(Player p) {
    if (p != null) {
      player = p;
      player.setSession(this);

      if (currentHall != null) {
        player.setCurrentHall(currentHall);
      }
    }
  }