Löve Frames - The Templates Library
Return to Index
Information
The Love Frames templates library houses functions related to object templates.
Functions
AddProperty - Adds a property to a template
loveframes.templates.AddProperty(templatename[string], object[object], property[string], value[various])
Register - Registers a template
loveframes.templates.Register(template[table])
Get - Gets a template
- Returns 1 value: template [table]
loveframes.templates.Get(name[string])
GetAvailable - Gets all available template
- Returns 1 value: templates [table]
local templates = loveframes.templates.GetAvailable()
ApplyToObject - Applies template properties to an object
loveframes.templates.ApplyToObject(object[object])