class

Traffic::VehiclePriority

Inherits Traffic::Vehicle < GSDL::Area < GSDL::Collidable < GSDL::Entity < GSDL::Tweenable < Reference < Object

Constructors

new(direction : GSDL::Direction, x : Int32 | Float32, y : Int32 | Float32, type : Traffic::PriorityType = PriorityType::Ambulance)
Source

Instance methods

asset_prefix
Source
base_speed_range
Source
draw_status_overlay(draw : GSDL::Draw, th : Float32, cam_x : Float32, cam_y : Float32)
Source
has_sirens?
Source
has_top?
Source
late_to_target?
Source
priority?
Source
select_target(graph : NodeGraph)
Source
setup_siren_animations(sprite : GSDL::AnimatedSprite, kind : Symbol)
Source
skips_red_lights?
Source
tint_body?
Source
type
Source
type=(type : PriorityType)
Source
update_special_behavior(dt : Float32, intersections : Array(Intersection), all_vehicles : Array(Vehicle))
Source
v_dims
Source