Changed TimeKeeper to keep a permanent "now" state.

This commit is contained in:
Vassyli
2017-03-30 11:03:45 +02:00
parent 39b9ec318a
commit f201784291
2 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -165,6 +165,6 @@ class TimeKeeperTests extends \PHPUnit_Framework_TestCase {
public function testGameTimeSanity() {
$keeper = new TimeKeeper($this->gameEpoch, $this->gameOffsetSeconds, $this->gameDaysPerDay);
$this->assertNotNull($keeper->gameTime());
$this->assertNotNull($keeper->getGameTime());
}
}