Add simple version string to Game. Probably want something more complex in the future.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user