- log
Logger log;
- window
Window window;
- content
ContentManager content;
- jar
Jar jar;
type registration container
- managers
Manager[] managers;
- debug_render
bool debug_render;
whether to draw debug information
- debugger
Debugger debugger;
- running
bool running;
whether the game is running
- frame_limit
int frame_limit;
the frame limit (used for testing)
- headless
bool headless;
whether graphics should be disabled
- pause_on_focus_lost
bool pause_on_focus_lost;
whether to pause when unfocused
- default_resolution
Vector2 default_resolution;
the default render resolution for all scenes
- fps
int fps [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- initialize
void initialize()
- run
void run()
- exit
void exit()
gracefully exits the game
- update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
- get_scene
T get_scene()
Undocumented in source. Be warned that the author may not have intended to support it.
- get_manager
Nullable!T get_manager()
Undocumented in source. Be warned that the author may not have intended to support it.
- scenes
Scene[] scenes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- primary_scene
Scene primary_scene [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- load_scenes
void load_scenes(Scene[] new_scenes)
- destroy
void destroy()
releases all resources and cleans up