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