TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
AppInterface Class Referenceabstract
Inheritance diagram for AppInterface:
Inheritance graph
[legend]
Collaboration diagram for AppInterface:
Collaboration graph
[legend]

Public Member Functions

 AppInterface (int threadCount)
 
void run ()
 
void exitSimulator ()
 
virtual void onInit ()=0
 
virtual void addScenes ()=0
 
virtual void onExit ()=0
 
void onSDLEvent (SDL_Event &evnt)
 
BaseFPSLimitergetFPSLimiter ()
 
AudioEnginegetAudioEngine ()
 

Public Attributes

InputManager _inputManager
 
TazGraphEngine::Window _window
 
Threader threadPool
 

Protected Member Functions

virtual void checkInput ()
 
virtual void update (float deltaTime)
 
virtual void draw ()
 
virtual void updateUI ()
 
bool init ()
 
bool initSystems ()
 

Protected Attributes

BaseFPSLimiter _limiter
 
AudioEngine _audioEngine
 
std::unique_ptr< SceneList_sceneList = nullptr
 
IScene_currentScene = nullptr
 
bool _isRunning = false
 
const float SCALE_SPEED = 0.1f
 

The documentation for this class was generated from the following files: