Module: RGSS3::SpriteContainer
Overview
common methods for Plane and Sprite
Constant Summary collapse
- BLEND =
{0 => :default, 1 => :additive, 2 => :subtractive}
Instance Attribute Summary collapse
-
#bitmap ⇒ Object
Returns the value of attribute bitmap.
-
#blend_type ⇒ Object
Returns the value of attribute blend_type.
-
#color ⇒ Object
Returns the value of attribute color.
-
#zoom_x ⇒ Object
Returns the value of attribute zoom_x.
-
#zoom_y ⇒ Object
Returns the value of attribute zoom_y.
Attributes included from Container
#opacity, #ox, #oy, #tone, #viewport, #visible, #z
Instance Method Summary collapse
Methods included from Container
#dispose, #disposed?, #draw, #initialize_copy
Instance Attribute Details
#bitmap ⇒ Object
Returns the value of attribute bitmap.
9 10 11 |
# File 'lib/rgss3/sprite_container.rb', line 9 def bitmap @bitmap end |
#blend_type ⇒ Object
Returns the value of attribute blend_type.
10 11 12 |
# File 'lib/rgss3/sprite_container.rb', line 10 def blend_type @blend_type end |
#color ⇒ Object
Returns the value of attribute color.
10 11 12 |
# File 'lib/rgss3/sprite_container.rb', line 10 def color @color end |
#zoom_x ⇒ Object
Returns the value of attribute zoom_x.
8 9 10 |
# File 'lib/rgss3/sprite_container.rb', line 8 def zoom_x @zoom_x end |
#zoom_y ⇒ Object
Returns the value of attribute zoom_y.
8 9 10 |
# File 'lib/rgss3/sprite_container.rb', line 8 def zoom_y @zoom_y end |