search API (or start typing anywhere)
Snow
snow.Snow
defined in ``
class
Members
assets
assets : snow.systems.assets.Assets
The asset system
audio
audio : snow.systems.audio.Audio
The audio system
config
config : snow.types.AppConfig
The application configuration specifics (like window, user, runtime, etc)
debug
debug : Bool
A debug flag for convenience, true if the app was built with the haxe -debug flag or define
has_shutdown
has_shutdown : Bool
Set if shut dow has completed
host
host : snow.types.AppHost
The host application
input
input : snow.systems.input.Input
The input system
io
io : snow.systems.io.IO
The io system
os
os : String
The os identifier, a string, but uses
snow.types.Types.OS
abstract enum internallyplatform
platform : String
The platform identifier, a string, but uses
snow.types.Types.Platform
abstract enum internallyready
ready : Bool
Whether or not the ready state has been reached
runtime
runtime : snow.types.AppRuntime
The runtime module
shutting_down
shutting_down : Bool
Set if shut down has commenced
Properties
freeze
freeze : Bool
Whether or not we are frozen, ignoring events i.e backgrounded/paused time
time : Float
The current timestamp uniqueid
uniqueid : String
Generate a unique ID to use
Methods
deferinlinestatic
defer(func:Dynamic) : Void
Call a function at the end of the current frame dispatch_event
dispatch_event(_type:snow.types.SystemEventType) : Void
Dispatch a system event explicitly dispatch_window_event
dispatch_window_event(_type:snow.types.WindowEventType, _timestamp:Float, _window_id:Int, _x:Int, _y:Int) : Void
new
new(_host:snow.types.AppHost) : Void
nextinlinestatic
next(func:Dynamic) : Void
Call a function at the start of the next frame, useful for async calls in a sync context, allowing the sync function to return safely before the onload is fired. onevent
onevent(_event:snow.types.SystemEvent) : Void
shutdown
shutdown() : Void
Shutdown the engine and quit