VEGO-Engine  0.1
Loading...
Searching...
No Matches
Game Class Referenceabstract
Collaboration diagram for Game:
[legend]

Public Member Functions

virtual void init ()=0
 
virtual void update (uint_fast16_t diffTime)=0
 
virtual std::optional< std::string > setConfigFilePath ()
 Sets the path for a custom config file.
 

Public Attributes

GameInternalgameInternal
 

Member Function Documentation

◆ setConfigFilePath()

virtual std::optional< std::string > Game::setConfigFilePath ( )
inlinevirtual

Sets the path for a custom config file.

Virtual function to be overwritten in the implementation to return the path of a custom config JSON file.

See also
Layout of the config file is shown in ConfigLoader
Returns
std::optional<std::string>

Member Data Documentation

◆ gameInternal

GameInternal* Game::gameInternal

The documentation for this class was generated from the following file: