Midstream on #8 : Grid drawing works as expected now, but the TilesetPropertiesChangedEvent is not bubbling up like it should, so the grid can't change

This commit is contained in:
2014-05-20 20:57:24 -07:00
parent 040af6e448
commit 684e5ff265
3 changed files with 61 additions and 18 deletions

View File

@@ -1,6 +1,23 @@
require "tailor/version"
require "tailor/GUI"
class SuperProxy
def initialize(obj)
@obj = obj
end
def method_missing(meth, *args, &blk)
@obj.class.superclass.instance_method(meth).bind(@obj).call(*args, &blk)
end
end
class Object
private
def _super
SuperProxy.new(self)
end
end
module Tailor
# Your code goes here...
end