示例#1
0
 public function canJoin(Player $player)
 {
     return $this->arena->getPlayerManager()->getPlayersCount() < $this->arena->getStructureManager()->getMaxPlayer() and !$this->arena->getStatusManager()->isStarting() and !$this->arena->getStatusManager()->isRunning();
 }