class

Traffic::VehicleCivilian

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

Constants

FrustrationRate = 0.5_f32

Constructors

new(direction : GSDL::Direction, x : Int32 | Float32, y : Int32 | Float32)
Source

Instance methods

anxious?
Source
asset_prefix
Source
base_speed_range
Source
draw_status_overlay(draw : GSDL::Draw, th : Float32, cam_x : Float32, cam_y : Float32)
Source
frustrated?
Source
has_sirens?
Source
has_top?
Source
patient?
Source
priority?
Source
road_rage?
Source
select_target(graph : NodeGraph)
Source
setup_top_animations(sprite : GSDL::AnimatedSprite, kind : Symbol)
Source
skips_red_lights?
Source
tint_body?
Source
update_special_behavior(dt : Float32, intersections : Array(Intersection), all_vehicles : Array(Vehicle))
Source