search API (or start typing anywhere)
Asset
snow.systems.assets.Asset defined in ``
An asset base class. Get assets from the app.assets
class
Members
id
id : StringThe id of this asset, i.e
assets/image.pngloaded
loaded : BoolTrue if this asset has completely loaded.
system
system : snow.systems.assets.AssetsThe asset system
type
type : IntA convenience type id when dealing with the base class. This is an Int because it can be any number for custom types, by default uses AssetType for the base types.
Methods
destroy
destroy() : VoidImplemented by subclasses to clean up their data and references. new
new(_system:snow.systems.assets.Assets, _id:String, _type:Int) : VoidCalled from subclasses, by
app.assets
