class DXRuby::Tiled::PointObject
Public Class Methods
create_from_hash(hash)
click to toggle source
# File lib/dxruby_tiled/object.rb, line 54 def self.create_from_hash(hash) self.new(hash[:x], hash[:y], hash) end
new(x, y, width, height, options = {})
click to toggle source
Calls superclass method
DXRuby::Tiled::TMEObject::new
# File lib/dxruby_tiled/object.rb, line 58 def initialize(x, y, width, height, options = {}) super x, y, options self.collision = [0, 0] end
Public Instance Methods
draw()
click to toggle source
# File lib/dxruby_tiled/object.rb, line 63 def draw; end