Add simple version string to Game. Probably want something more complex in the future.

This commit is contained in:
Austen McDonald
2016-05-30 22:37:15 -07:00
parent 10b5719527
commit 58808bcbee
+6
View File
@@ -22,6 +22,12 @@ class Game
$this->eventManager = $eventManager;
}
public static function getVersion(): string
{
// Conforms to semantic versioning.
return '0.0.1';
}
/**
* Returns the game's module manager.
* @return ModuleManager The game's module manager.