/zoeplat

To get this branch, use:
bzr branch /bzr/zoeplat

« back to all changes in this revision

Viewing changes to sprite.lua

  • Committer: Josh C
  • Date: 2013-04-11 02:07:08 UTC
  • Revision ID: josh@9ix.org-20130411020708-psrxtdnm8xe4pz7d
text balloon system

Show diffs side-by-side

added added

removed removed

89
89
   -- TODO: take map position into account
90
90
   if self[dir] > edge then self[dir] = edge end
91
91
end
 
92
 
 
93
-- might want this later...
 
94
-- function Sprite:new(obj)
 
95
--    obj = Class.new(self, obj)
 
96
 
 
97
--    if obj.dialog and not obj.balloon then
 
98
--       obj.balloon = Balloon:new{sprite = obj}
 
99
--    end
 
100
 
 
101
--    return obj
 
102
-- end
 
 
'\\ No newline at end of file'