To get this branch, use:
bzr branch
http://9ix.org/bzr/zoeplat
37
by Josh C
text balloon system
|
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
|