forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_mainloop
reduz edited this page Nov 14, 2014
·
10 revisions
####Inherits: Object ####Category: Core
Main loop is the abstract main loop base class.
- void input_event ( InputEvent arg0 )
- NOTIFICATION_WM_FOCUS_IN = 5
- NOTIFICATION_WM_FOCUS_OUT = 6
- NOTIFICATION_WM_QUIT_REQUEST = 7
- NOTIFICATION_WM_UNFOCUS_REQUEST = 8
- NOTIFICATION_OS_MEMORY_WARNING = 9
Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a MainLoop has to be provided to OS, else the application will exit. This happens automatically (and a [SceneMainLoop] is created), unless a main Script is supplied, which may or not create and return a MainLoop.