Skip to content

Commit 3af580d

Browse files
flamendlessjosh-perry
authored andcommitted
fixed spaces
1 parent daee454 commit 3af580d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

peachy.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ peachy.__index = peachy
5959

6060
local self = setmetatable({}, peachy)
6161

62-
--store the path to the passed json file
62+
--store the path to the passed json file
6363
self.json_path = dataFile
6464

6565
-- check if datafile is a lua table (i.e. pre decoded)
@@ -143,7 +143,7 @@ end
143143
-- local f = sound:getFrame()
144144
--
145145
function peachy:getFrame()
146-
return self.frameIndex
146+
return self.frameIndex
147147
end
148148

149149
--- Get the json path passed in the object
@@ -152,7 +152,7 @@ end
152152
-- local str_json = obj:getJSON()
153153
--
154154
function peachy:getJSON()
155-
return self.json_path
155+
return self.json_path
156156
end
157157

158158
--- Draw the animation's current frame in a specified location.
@@ -274,7 +274,7 @@ end
274274

275275
--- Provides dimensions stored in the metadata of a current frame
276276
function peachy:getDimensions()
277-
return self:getWidth(), self:getHeight()
277+
return self:getWidth(), self:getHeight()
278278
end
279279

280280
--- Internal: handles the ping-pong animation type.

0 commit comments

Comments
 (0)