Module component.Environment
Functions
Environment:init () | Initializes the environment object. |
Environment:load (lib) | Loads the Environment class, automatically called when it's required by LoveUI |
Environment:restore () | Restores the stored graphics environment |
Environment:store () | Stores the current graphics environment |
Functions
- Environment:init ()
-
Initializes the environment object. Stores the current graphics environment
Return value:
Environment - Environment:load (lib)
-
Loads the Environment class, automatically called when it's required by LoveUI
Parameters
- lib: table
Return value:
class - Environment:restore ()
- Restores the stored graphics environment
- Environment:store ()
- Stores the current graphics environment