Class Application¶
Defined in File application.h
Inheritance Relationships¶
Derived Types¶
public EditorApplication
(Class EditorApplication)public GameApplication
(Class GameApplication)
Class Documentation¶
-
class
Application
¶ Interface for a Rootex application. Every application that uses Rootex should derive this class.
Subclassed by EditorApplication, GameApplication
Public Functions
-
Application
(Application&)¶
-
virtual
~Application
()¶
-
void
run
()¶
-
virtual void
process
(float deltaMilliseconds)¶
-
void
end
()¶
-
void
createSaveSlot
(int slot)¶
-
bool
loadSave
(int slot)¶
-
JSON::json &
getSaveData
()¶
-
bool
saveSlot
()¶
-
ThreadPool &
getThreadPool
()¶
-
const FrameTimer &
getAppFrameTimer
() const¶
-
ApplicationSettings *
getSettings
()¶
-
Vector<FilePath>
getLibrariesPaths
()¶ Returns paths of all third-party libraries provided by rootex/vendor/.
-
void
destroySplashWindow
()¶
-
float *
getDeltaMultiplierPtr
()¶
-
float
getDeltaMultiplier
() const¶
-
void
setDeltaMultiplier
(float gain)¶
-
void
resetDeltaMultiplier
()¶
Public Static Functions
-
static Application *
GetSingleton
()¶
Protected Attributes
-
FrameTimer
m_FrameTimer
¶
-
ThreadPool
m_ThreadPool
¶
-
float
m_DeltaMultiplier
= 1.0f¶
-
int
m_CurrentSaveSlot
¶
-
JSON::json
m_CurrentSaveData
¶
-
Ptr<SplashWindow>
m_SplashWindow
¶
-
Ptr<ApplicationSettings>
m_ApplicationSettings
¶
-