... | ... | @@ -6,7 +6,7 @@ The constructor takes in the title, the width and the height of the main window |
|
|
The destructor deletes and cleans up member pointers.
|
|
|
|
|
|
####Member Variables:
|
|
|
| Variable Name | Type | Visibility | Description |
|
|
|
| Name | Type | Visibility | Description |
|
|
|
|-------------------|----------|----------------|-----------------|
|
|
|
|`m_mainWindow`|[Window*](https://github.com/sadmansk/GameEngine/wiki/Window-Class)|`private`|Main Window that is displayed on the screen|
|
|
|
|`m_title`|`const std::string`|`private`|Title of the main window|
|
... | ... | @@ -16,7 +16,7 @@ The destructor deletes and cleans up member pointers. |
|
|
|`m_game`|[Game*](https://github.com/sadmansk/GameEngine/wiki/Game-Class)|`private`|Object for handling all game logic, input, game rendering, etc.|
|
|
|
|
|
|
####Member Functions:
|
|
|
| Variable Name | Return Type | Visibility | Description |
|
|
|
| Name | Return Type | Visibility | Description |
|
|
|
|-------------------|----------|----------------|-----------------|
|
|
|
|`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()`|
|
... | ... | |