/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-03-09 05:15:15 UTC
  • Revision ID: josh@9ix.org-20130309051515-tgd962is9kse7kfo
don't quit w/ escape if debug console is up

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