todos to use own classes instead of \stdClass

This commit is contained in:
Steffen Schröder 2014-02-13 14:26:33 +01:00
parent 4197dc82ff
commit b2777d8387
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,7 @@ class TimerManager {
}
//Init the Timer Listening
// TODO: extra model class
$listening = new \stdClass();
$listening->listener = $listener;
$listening->method = $method;

View File

@ -282,6 +282,9 @@ class StatisticManager {
$this->stats[$row->name] = $row;
}
$result->close();
// TODO: own model class
//Define Special Stat Kill / Death Ratio
$stat = new \stdClass();
$stat->name = self::SPECIAL_STAT_KD_RATIO;
@ -300,7 +303,7 @@ class StatisticManager {
$stat->type = self::STAT_TYPE_FLOAT;
$this->specialStats[self::SPECIAL_STAT_LASER_ACC] = $stat;
//Nuceleus Accuracy
//Nucleus Accuracy
$stat = new \stdClass();
$stat->name = self::SPECIAL_STAT_NUCLEUS_ACC;
$stat->type = self::STAT_TYPE_FLOAT;