class

PointClickEngine::Scenes::WalkBehindManager

Inherits Reference < Object

Manages walk-behind regions for proper depth sorting

Constructors

Instance methods

add_region(region : WalkBehindRegion) : Nil

Add a walk-behind region

Source
clear

Clear all regions

Source
get_region_at_point(point : RL::Vector2) : WalkBehindRegion | Nil

Get the walk-behind region at a specific point

Source
get_regions_at_y(y : Float32) : Array(WalkBehindRegion)

Get walk-behind regions that should render in front of a character at given Y

Source
get_regions_character_behind(y : Float32) : Array(WalkBehindRegion)

Get walk-behind regions that a character is behind (character renders first)

Source
get_regions_in_z_range(min_z : Int32, max_z : Int32) : Array(WalkBehindRegion)

Get regions within a specific z-order range

Source
point_in_walk_behind?(point : RL::Vector2) : Bool

Check if a point is within any walk-behind region

Source
regions

Get all walk-behind regions

Source
sort_by_z_order!

Sort regions by z-order

Source
validate_regions

Validate walk-behind regions

Source