Class: UI::Shop::Arrow

Overview

Arrow of the shop UI

Instance Attribute Summary

Attributes inherited from LiteRGSS::ShaderedSprite

#blendmode, #shader

Attributes inherited from LiteRGSS::Sprite

#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y

Instance Method Summary collapse

Methods inherited from Bag::Arrow

#update

Methods inherited from Sprite

#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update

Methods inherited from LiteRGSS::Sprite

new, #set_origin, #set_position

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport) ⇒ Arrow

Initialize the arrow Sprite for the UI

Parameters:

  • viewport (Viewport)

    the viewport in which the Sprite will be displayed



232
233
# File 'docs/4_Systems_203_Shop.rb', line 232

def initialize(viewport)
end

Instance Method Details

#arrow_filename

Name of the arrow sprite



238
239
# File 'docs/4_Systems_203_Shop.rb', line 238

def arrow_filename
end

#arrow_pos

Position of the arrow sprite



235
236
# File 'docs/4_Systems_203_Shop.rb', line 235

def arrow_pos
end