added scores shootmania callback -> TODO implement players there in a good way, maybe a Object including these properties and a getPlayer() method with a reference to the player (setable without maniacontrol reference in the object itself)
This commit is contained in:
@ -18,8 +18,8 @@ use ManiaControl\Players\Player;
|
||||
*/
|
||||
class OnCaptureStructure extends BaseStructure {
|
||||
|
||||
public $time;
|
||||
public $landMark;
|
||||
public $time;
|
||||
private $landMark;
|
||||
|
||||
private $playerArray = array();
|
||||
|
||||
@ -46,6 +46,11 @@ class OnCaptureStructure extends BaseStructure {
|
||||
$this->shooter = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->shooter);
|
||||
}
|
||||
|
||||
/** Dumps the Object with some Information */
|
||||
public function dump() {
|
||||
var_dump($this->landMark);
|
||||
parent::dump();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the logins
|
||||
|
Reference in New Issue
Block a user