callback improvements, new structures for shootmania callbacks

This commit is contained in:
kremsy committed 2014-10-10 16:19:46 +02:00
1 parent 1feeb768b2
commit 27efcabb6e
6 files changed
+120 -6

No files matched your search

@@ -0,0 +1,29 @@
<?php
namespace ManiaControl\Callbacks\Structures;
use ManiaControl\Players\Player;
class CaptureStructure {
private $playerArray;
public function __construct($maniaControl, $data) {
$this->playerArray = $data;
}
/**
* @return mixed
*/
public function getLoginArray() {
return $this->playerArray;
}
/**
* @return Player[]
*/
public function getPlayerArray() {
//TODO build array with player objects
return $this->playerArray;
}
}