Class: UI::AttackDummySprite

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

Overview

Class that show the category of a skill

Constant Summary collapse

IMAGE_NAME =

Name of the image shown

'battle_attack_dummy'

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 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

new, #set_origin, #set_position

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport) ⇒ AttackDummySprite

Create a new category sprite

Parameters:

  • viewport (Viewport)

    viewport in which the sprite is shown



746
747
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 746

def initialize(viewport)
end

Instance Method Details

#data=(object)

Set the object that responds to #atk_class

Parameters:

  • object (#atk_class, nil)


750
751
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 750

def data=(object)
end