Skip to content

Commit

Permalink
allow param or params
Browse files Browse the repository at this point in the history
  • Loading branch information
xerool committed May 29, 2021
1 parent 880e565 commit ce9babb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions template/ease.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
end
local default = params(defaultparam1)
return setmetatable({
params = params
params = params,
param = params,
}, {
__call = function(self, x)
return default(x)
Expand All @@ -41,7 +42,8 @@
end
local default = params(defaultparam1, defaultparam2)
return setmetatable({
params = params
params = params,
param = params,
}, {
__call = function(self, x)
return default(x)
Expand Down
6 changes: 6 additions & 0 deletions template/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Layer Type="ActorFrame" Name="Kaden.frame"><children>
<Layer Name="Kaden.idle" File="../Kaken/idle.png" />
<Layer Name="Kaden.animated" File="../Kaden/animated.png" />
<Layer Name="Kaden.angry" File="../Kaden/angry.png" />
<Layer Name="Kaden.particle" File="../Kaden/particle.png" />
</children></Layer>

0 comments on commit ce9babb

Please sign in to comment.