Class: UI::Bag::Arrow

Inherits:
Sprite show all
Defined in:
docs/4_Systems_103_Bag.rb

Overview

Arrow telling which item is selected

Direct Known Subclasses

Shop::Arrow

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 Sprite

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

Methods inherited from LiteRGSS::Sprite

new, #set_origin, #set_position

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport) ⇒ Arrow

Create a new arrow

Parameters:



372
373
# File 'docs/4_Systems_103_Bag.rb', line 372

def initialize(viewport)
end

Instance Method Details

#update

Update the arrow animation



375
376
# File 'docs/4_Systems_103_Bag.rb', line 375

def update
end