maniaControl = $maniaControl; $this->shooter = $data[0]; $this->victim = $data[1]; $this->weapon = $data[2]; $this->distance = $data[3]; } /** * Get the shooter * * @return Player */ public function getShooter() { return $this->maniaControl->getPlayerManager()->getPlayer($this->shooter); } /** * Get the victim * * @return Player */ public function getVictim() { return $this->maniaControl->getPlayerManager()->getPlayer($this->victim); } /** * Get the distance * * @return float */ public function getDistance() { return $this->distance; } /** * Get the weapon * * @return int */ public function getWeapon() { return $this->weapon; } }