class

PointClickEngine::Actions::OverlaySprite

Inherits Reference < Object

Sprite data for sequence rendering

Constructors

new(path : String, position : Raylib::Vector2, scale : Float32 = 1.0_f32, glow : Bool = false, glow_color : Raylib::Color | Nil = nil, tint : Raylib::Color = Raylib::WHITE, fade_in_duration : Float32 = 0.0_f32, animate : Bool = false, animation_frames : Int32 = 1, animation_fps : Float32 = 0.0_f32, glow_pulse : Bool = false, glow_pulse_speed : Float32 = 1.0_f32)
Source

Instance methods

alpha
Source
alpha=(alpha : Float32)
Source
animate
Source
animate=(animate : Bool)
Source
animation_elapsed
Source
animation_elapsed=(animation_elapsed : Float32)
Source
animation_fps
Source
animation_fps=(animation_fps : Float32)
Source
animation_frames
Source
animation_frames=(animation_frames : Int32)
Source
begin_fade_out(duration : Float32)
Source
current_frame_path
Source
fade_elapsed
Source
fade_elapsed=(fade_elapsed : Float32)
Source
fade_in_duration
Source
fade_in_duration=(fade_in_duration : Float32)
Source
fade_out_duration
Source
fade_out_duration=(fade_out_duration : Float32)
Source
glow
Source
glow=(glow : Bool)
Source
glow_color
Source
glow_color=(glow_color : Raylib::Color | Nil)
Source
glow_pulse
Source
glow_pulse=(glow_pulse : Bool)
Source
glow_pulse_speed
Source
glow_pulse_speed=(glow_pulse_speed : Float32)
Source
path
Source
path=(path : String)
Source
position
Source
position=(position : Raylib::Vector2)
Source
ready_for_removal?
Source
removing
Source
removing=(removing : Bool)
Source
scale
Source
scale=(scale : Float32)
Source
start_position
Source
start_position=(start_position : Raylib::Vector2 | Nil)
Source
tint
Source
tint=(tint : Raylib::Color)
Source
update(dt : Float32)
Source