class

PointClickEngine::Graphics::Layers::BackgroundLayer

Inherits PointClickEngine::Graphics::Layers::Layer < Reference < Object

Specialized background layer with additional features

Constructors

new(name : String, texture_path : String | Nil = nil)
Source

Instance methods

background_texture
Source
background_texture=(background_texture : RL::Texture2D | Nil)
Source
cleanup
Source
draw_background(viewport_width : Int32, viewport_height : Int32)
Source
scroll_speed
Source
scroll_speed=(scroll_speed : RL::Vector2)
Source
tile_mode
Source
tile_mode=(tile_mode : TileMode)
Source
update(dt : Float32)

Update layer (for animated properties)

Source

Nested types