mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Code tidying with Rubocop
This commit is contained in:
@@ -185,7 +185,8 @@ class RPG::Animation
|
||||
self.timings.push(timing)
|
||||
end
|
||||
|
||||
def addAnimation(otherAnim, frame, x, y) # frame is zero-based
|
||||
# frame is zero-based.
|
||||
def addAnimation(otherAnim, frame, x, y)
|
||||
if frame + otherAnim.frames.length >= self.frames.length
|
||||
totalframes = frame + otherAnim.frames.length + 1
|
||||
(totalframes - self.frames.length).times do
|
||||
|
||||
Reference in New Issue
Block a user