summaryrefslogtreecommitdiff
path: root/src/Core/Main.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Main.php')
-rw-r--r--src/Core/Main.php25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/Core/Main.php b/src/Core/Main.php
index 594b15c..7aa643e 100644
--- a/src/Core/Main.php
+++ b/src/Core/Main.php
@@ -5,11 +5,15 @@ namespace App\Core;
use App\Game;
/**
-* Core Main class, deals with all set-up
-*/
+ * Not really sure if we need this
+ */
class Main
{
-
+ /**
+ * Construct
+ *
+ * @author Phil Burton <phil@pgburton.com>
+ */
public function __construct()
{
$this->init();
@@ -17,13 +21,24 @@ class Main
$this->run();
}
+ /**
+ * Initalise
+ *
+ * @author Phil Burton <phil@pgburton.com>
+ * @return bool
+ */
protected function init()
{
return true;
}
+ /**
+ * Run the Game
+ *
+ * @author Phil Burton <phil@pgburton.com>
+ */
protected function run()
{
- $game = new Game();
+ $game = new Game();
}
-} \ No newline at end of file
+}