/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-16 00:27:10 UTC
  • Revision ID: josh@9ix.org-20130416002710-4soqj70ln7hdrzdb
testing audio

Show diffs side-by-side

added added

removed removed

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