Esempio n. 1
0
  public void setCurrentHall(IHall currentHall) {
    this.currentHall = currentHall;

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

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