summaryrefslogtreecommitdiff
path: root/src/Core/Main.php
blob: 7aa643e6d2e7d683ca4cb41e6e5d724bb2db8e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php

namespace App\Core;

use App\Game;

/**
 * Not really sure if we need this
 */
class Main
{
    /**
     * Construct
     *
     * @author Phil Burton <phil@pgburton.com>
     */
    public function __construct()
    {
        $this->init();

        $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();
    }
}