public function perform() { if ($this->unit->position) { $this->unit->say(__("explodes, collapsing the ceiling and damanging every unit.")); foreach ($this->unit->position->floor->units() as $unit) { $unit->take_damage(100); } } }