/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-10 22:25:26 UTC
  • Revision ID: josh@9ix.org-20130310222526-hrotq2ukxktjsrdg
climb walls

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