1 | <?php |
||
9 | class StartGameCommand extends AbstractPlayerCommand |
||
10 | { |
||
11 | const NAME = 'GAME.START'; |
||
12 | |||
13 | /** |
||
14 | * Construct. |
||
15 | */ |
||
16 | 9 | public function __construct() |
|
19 | |||
20 | /** |
||
21 | * Returns the command name |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | 3 | public function getCommandName() |
|
29 | |||
30 | /** |
||
31 | * Construct |
||
32 | * |
||
33 | * @param MiniGameId $id |
||
34 | * @param PlayerId $playerId |
||
35 | * @param Context $origin |
||
36 | * |
||
37 | * @return StartGameCommand |
||
38 | */ |
||
39 | 9 | public static function create( |
|
50 | } |
||
51 |