Class: UI::SummaryConditionSprite

Inherits:
ConditionSprite show all
Defined in:
docs/4_Systems_000_General_4_UI_Generics.rb

Instance Attribute Summary

Attributes inherited from SpriteSheet

#nb_x, #nb_y, #sx, #sy

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 ConditionSprite

#data=

Methods inherited from SpriteSheet

#bitmap=, #resize, #select

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

#set_origin, #set_position

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport, index) ⇒ SummaryConditionSprite

Create a new summary condition Sprite

Parameters:

  • viewport (Viewport, nil) —

    the viewport in which the sprite is stored

  • index (Integer) —

    the index of the condition to show (1-5)



696
697
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 696

def initialize(viewport, index)
end