/zoeplat

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

« back to all changes in this revision

Viewing changes to animation.lua

  • Committer: Josh C
  • Date: 2013-04-11 01:33:32 UTC
  • Revision ID: josh@9ix.org-20130411013332-7bf1zydct2v4rbyk
zoetrope 1.4 (and revert my sprite changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
local oldnew = Animation.new
3
 
function Animation:new(obj)
4
 
   obj = oldnew(self, obj)
5
 
 
6
 
   if obj.dialog and not obj.balloon then
7
 
      obj.balloon = Balloon:new{sprite = obj}
8
 
   end
9
 
 
10
 
   return obj
11
 
end