/zoeplat

To get this branch, use:
bzr branch http://9ix.org/bzr/zoeplat

« back to all changes in this revision

Viewing changes to zoetrope/core/sprite.lua

  • Committer: Josh C
  • Date: 2013-03-10 22:06:04 UTC
  • Revision ID: josh@9ix.org-20130310220604-13mvvqrc4tv12fh0
call Animation.update so we actually get animations

Show diffs side-by-side

added added

removed removed

Lines of Context:
427
427
                if vel.rotation ~= 0 then self.rotation = self.rotation + vel.rotation * elapsed end
428
428
        end,
429
429
        update = function (self, elapsed)
430
 
                    self:doPhysics(elapsed)
431
 
 
432
430
                    if self.onUpdate then self:onUpdate(elapsed) end
433
431
        end,
434
432