Exemplo n.º 1
0
 /**
  * Reset the arena
  * @param Arena $arena
  */
 public function clearArena(Arena $arena)
 {
     $arena->reset();
     foreach ($arena->players as $player) {
         $player->teleport($this->getLobbySpawn());
         $player->removeAllEffects();
     }
 }