Util/Game

* cleanup Util 2/2
 * move game related functions and variables to new class: Game
This commit is contained in:
Sarjuuk
2017-04-19 01:28:33 +02:00
parent f503967c45
commit a695a4188c
24 changed files with 293 additions and 280 deletions

View File

@@ -194,7 +194,7 @@ class ObjectPage extends GenericPage
/****************/
// pageText
if ($this->pageText = Util::getPageText($next = $this->subject->getField('pageTextId')))
if ($this->pageText = Game::getPageText($next = $this->subject->getField('pageTextId')))
{
$this->addCSS(['path' => 'Book.css']);
$this->addJS('Book.js');