/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-10 01:20:40 UTC
  • Revision ID: josh@9ix.org-20130410012040-lv7v1sc3vj7ismja
link

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