Traffic::Vehicle
Inherits GSDL::Area < GSDL::Collidable < GSDL::Entity < GSDL::Tweenable < Reference < Object
Constructors
Instance methods
asset_prefix
Sourcebase_speed_range
Sourcecalculate_path(graph : NodeGraph)
Sourcedirection
Sourcedirection=(dir : GSDL::Direction)
Sourcedraw(draw : GSDL::Draw)
Sourcedraw_y
Sourcefinished?
Sourceh_dims
Sourcehas_sirens?
Sourcehas_top?
Sourceheight
Sourcelane_state
Sourcelane_state=(lane_state : LaneState)
Sourcelook_ahead_box
Sourcenext_action
Sourcenext_action=(next_action : IntersectionAction)
Sourcenode_path
Sourcepaint_color
Sourcepaint_color=(paint_color : GSDL::Color)
Sourcepath
Sourcepriority?
Sourceselect_target(graph : NodeGraph)
Sourceskips_red_lights?
Sourcespeed
Sourcetarget_node
Sourcetarget_node=(target_node : Node | Nil)
Sourcetarget_reached?
Sourcetint_body?
Sourceupdate(dt : Float32, map : GSDL::TileMap, intersections : Array(Intersection), all_vehicles : Array(Vehicle))
Sourceupdate_special_behavior(dt : Float32, intersections : Array(Intersection), all_vehicles : Array(Vehicle))
Sourcev_dims
Sourcewaiting?
Sourcewidth
Sourcewrecked?
Source