TeaPacket v0.0.1
Multiplatform Game Engine
Loading...
Searching...
No Matches
Interface.hpp
Go to the documentation of this file.
1//
2// Global functions for Basic I/O Functionality
3//
4
5#pragma once
6
9{
11 bool Initialize();
13 void Tick();
16
18 bool ShouldQuit();
20 void QueueQuit();
21
23 inline bool initialized = false;
24}
Functionality relating to core application management, such as event-handling and process management.
Definition Interface.hpp:9
bool ShouldQuit()
Returns whether the application should quit or not.
bool Initialize()
Initializes application information.
void DeInitialize()
De-Initializes the application's data.
void Tick()
Updates any core application info and handles events.
bool initialized
Whether all Interface functionality has been initialized.
Definition Interface.hpp:23
void QueueQuit()
Queues a quit of the application. The app will return false on the next call to ShouldQuit()