Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
Manager.h
1#pragma once
2
3#include "pch.h"
4
5class App;
6
14{
15public:
16 Manager() = delete;
17 Manager(App* appOwner)
18 : m_app(appOwner) { }
19
20public:
21
26 virtual void Tick(double deltaTime) {}
27
32 virtual void Exit() {}
33
34public:
35 App* GetApp() const { return m_app; }
36
37protected:
38 App* m_app = nullptr;
39};
Definition App.h:10
Manager class that can handle application operations or project operations. For example,...
Definition Manager.h:14
virtual void Tick(double deltaTime)
Called every frame regardless of if the app is closing.
Definition Manager.h:26
virtual void Exit()
Called when closing the app.
Definition Manager.h:32