more editor work on handling entity spawns
This commit is contained in:
@@ -15,6 +15,10 @@ function Animation:new(anim_data,speed)
|
||||
return o
|
||||
end
|
||||
|
||||
function Animation:getCenteredOffset()
|
||||
return self.imgs[1]:getWidth()/2, self.imgs[1]:getHeight()/2
|
||||
end
|
||||
|
||||
function Animation:change(anim_data)
|
||||
if anim_data.path == self.path
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user