more work on Animation
This commit is contained in:
@@ -31,6 +31,8 @@ local Element = req("Element")
|
||||
-- externals
|
||||
---@type Animation
|
||||
local Animation = req("Animation")
|
||||
---@type AnimationGroup
|
||||
local AnimationGroup = req("AnimationGroup")
|
||||
---@type Color
|
||||
local Color = req("Color")
|
||||
---@type Theme
|
||||
@@ -95,6 +97,12 @@ Color.initializeErrorHandler(ErrorHandler)
|
||||
-- Initialize ErrorHandler for utils
|
||||
utils.initializeErrorHandler(ErrorHandler)
|
||||
|
||||
-- Initialize ErrorHandler for Animation module
|
||||
Animation.initializeErrorHandler(ErrorHandler)
|
||||
|
||||
-- Initialize ErrorHandler for AnimationGroup module
|
||||
AnimationGroup.initializeErrorHandler(ErrorHandler)
|
||||
|
||||
-- Add version and metadata
|
||||
flexlove._VERSION = "0.2.3"
|
||||
flexlove._DESCRIPTION = "0I Library for LÖVE Framework based on flexbox"
|
||||
@@ -1085,6 +1093,7 @@ function flexlove.getStateStats()
|
||||
end
|
||||
|
||||
flexlove.Animation = Animation
|
||||
flexlove.AnimationGroup = AnimationGroup
|
||||
flexlove.Color = Color
|
||||
flexlove.Theme = Theme
|
||||
flexlove.enums = enums
|
||||
|
||||
Reference in New Issue
Block a user