#include <services.hpp>
"Singleton wrapper" for accessing core services basically anywhere.
Example usage:
Definition graphics.hpp:26
static Graphics * graphics()
Definition services.cpp:23
For now, you can get the following services:
It should be initialized in the main function with a pointer to every service. You can find more details in the project template's main.cpp.
◆ audio()
| Audio * Services::audio |
( |
| ) |
|
|
static |
◆ engine()
◆ exit()
◆ graphics()
◆ init()
◆ input()
| Input * Services::input |
( |
| ) |
|
|
static |
◆ inputRegistry()
◆ physics()
The documentation for this class was generated from the following files: