Sha256: eb0c96269368744cc19df27cb3d156876a362388b2e0566bd777043a99775cf2
Contents?: true
Size: 404 Bytes
Versions: 10
Compression:
Stored size: 404 Bytes
Contents
class AuthorEngine module Support def window Window.instance end def code_editor CodeEditor.instance end def sprite_editor SpriteEditor.instance end def mouse_over?(object) if window.mouse_x.between?(object.x, object.x + object.width) && window.mouse_y.between?( object.y, object.y + object.height) true end end end end
Version data entries
10 entries across 10 versions & 1 rubygems