/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 00:42:25 UTC
  • Revision ID: josh@9ix.org-20130410004225-ok7v6kq2g632mqmv
playing with text (disabled)

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