module DXRuby::Tiled::ObjectInIsometricMap
Attributes
width_height[RW]
Public Instance Methods
draw()
click to toggle source
Calls superclass method
# File lib/dxruby_tiled/object.rb, line 254 def draw tmp_x, tmp_y = self.x, self.y self.x = tmp_x - tmp_y self.y = (tmp_x + tmp_y) * @width_height super self.x, self.y = tmp_x, tmp_y end