Sound Bakery  v0.1.0
Open-source audio middleware for games
|
Manager class that can handle application operations or project operations. For example, the app subclass can handle creating the root widget, file browsers and such. The project subclass can handle loading project files and widgets needed only for the project. More...
#include <Manager.h>
Public Member Functions | |
Manager (App *appOwner) | |
virtual void | Tick (double deltaTime) |
Called every frame regardless of if the app is closing. | |
virtual void | Exit () |
Called when closing the app. | |
App * | GetApp () const |
Protected Attributes | |
App * | m_app = nullptr |
Manager class that can handle application operations or project operations. For example, the app subclass can handle creating the root widget, file browsers and such. The project subclass can handle loading project files and widgets needed only for the project.
|
inlinevirtual |
Called when closing the app.
Reimplemented in AppManager, and ProjectManager.
|
inlinevirtual |
Called every frame regardless of if the app is closing.
Reimplemented in AppManager, and ProjectManager.