Moving forward !

This commit is contained in:
Ad5001 2016-07-31 22:46:09 +03:00
parent fb22b22bd3
commit 665426e7cf
5 changed files with 72 additions and 23 deletions

View file

@ -5,6 +5,26 @@ use pocketmine\Player;
class Example extends Game {
public function onGameStart() {
$this->getLogger()->info("Game");
$this->getLogger()->info("Game started");
}
public function onGameStop() {
$this->getLogger()->info("Game stoped");
}
public function getName() : string {
return "Example";
}
public function getMinPlayers() : int {
return 1;
}
public function getMaxPlayers() : int {
return 5;
}
}