... | ... | @@ -18,7 +18,7 @@ The destructor deletes and cleans up member pointers. |
|
|
####Member Functions:
|
|
|
| Name | Return Type | Visibility | Description |
|
|
|
|-------------------|----------|----------------|-----------------|
|
|
|
|`Start()`|`void`|`public`|Starts the main engine and game loop by resetting the timer and invoke `Run()`.|
|
|
|
|`Start()`|`void`|`public`|Starts the main engine and game loop by resetting the timer and invoke `Run()`|
|
|
|
|`Stop()`|`void`|`public`|Stops the main engine by setting `m_isRunning` to false, eventually stopping the game loop in `Run()`|
|
|
|
|`Run()`|`void`|`private`|Contains the main game loop, it makes calls to all the required `m_game` functions, and renders the frames by using a timer|
|
|
|
|`Render()`|`void`|`private`|Called from `Run()`, it clears the screen and renders `m_mainWindow` and `m_game`| |
|
|
\ No newline at end of file |