File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ peachy.__index = peachy
59
59
60
60
local self = setmetatable ({}, peachy )
61
61
62
- -- store the path to the passed json file
62
+ -- store the path to the passed json file
63
63
self .json_path = dataFile
64
64
65
65
-- check if datafile is a lua table (i.e. pre decoded)
143
143
-- local f = sound:getFrame()
144
144
--
145
145
function peachy :getFrame ()
146
- return self .frameIndex
146
+ return self .frameIndex
147
147
end
148
148
149
149
--- Get the json path passed in the object
152
152
-- local str_json = obj:getJSON()
153
153
--
154
154
function peachy :getJSON ()
155
- return self .json_path
155
+ return self .json_path
156
156
end
157
157
158
158
--- Draw the animation's current frame in a specified location.
274
274
275
275
--- Provides dimensions stored in the metadata of a current frame
276
276
function peachy :getDimensions ()
277
- return self :getWidth (), self :getHeight ()
277
+ return self :getWidth (), self :getHeight ()
278
278
end
279
279
280
280
--- Internal: handles the ping-pong animation type.
You can’t perform that action at this time.
0 commit comments