player detailed started statistics

This commit is contained in:
kremsy
2014-01-03 17:36:10 +01:00
parent 3e7083d377
commit f8ba365af5
3 changed files with 29 additions and 2 deletions

View File

@ -116,6 +116,16 @@ class StatisticManager {
}
}
public function getAllPlayerStats(Player $player){
$playerStats = array(); //TODO improve performant
foreach($this->stats as $stat){
// $value = $this->getStatisticData($stat['name'], $player->index);
// var_dump($value);
//$playerStats[$stat] = $value;
}
return $playerStats;
}
/**
* Inserts a Stat into the database
*
@ -221,6 +231,7 @@ class StatisticManager {
return true;
}
/**
* Initialize necessary database tables
*