Correcting code blocks.

这个提交包含在:
Ad5001 2016-08-05 12:40:45 +03:00 提交者 GitHub
父节点 e6c704f3fa
当前提交 3ab6385459
共有 1 个文件被更改,包括 3 次插入2 次删除

查看文件

@ -5,7 +5,7 @@ I made this for me at start but feel free to use it to write your own minigame !
### How to make a game:
To make a game base, create a new file called "<YOUR_GAME_NAME>.php". Inside it, add a
``
```php
<?php
use Ad5001\GameManager\Game;
@ -27,7 +27,8 @@ public function getMaxPlayers() : int { // Return the max of the players
return <NUMBER OF PLAYERS MAX>;
}
} ``
}
```
This is the basic class.
Methods that you can add to the class (optionals):