Class: Plane

Inherits:
Object
  • Object
show all
Includes:
RGSS3::Container
Defined in:
lib/rgss3/plane.rb

Constant Summary

Constants included from RGSS3::Container

RGSS3::Container::BLEND

Instance Attribute Summary

Attributes included from RGSS3::Container

#bitmap, #blend_type, #color, #opacity, #ox, #oy, #tone, #viewport, #visible, #z, #zoom_x, #zoom_y

Instance Method Summary collapse

Methods included from RGSS3::Container

#dispose, #disposed?, #do_draw, #initialize, #initialize_copy

Instance Method Details

#drawObject



5
6
7
# File 'lib/rgss3/plane.rb', line 5

def draw
  bitmap.gosu_image.draw(-@ox, -@oy, @z, 1, 1, 0xff_ffffff, BLEND[@blend_type])
end