class

Traffic::TrafficSignal

Inherits GSDL::AnimatedSprite < GSDL::SpriteBase < GSDL::Directionable < GSDL::Area < GSDL::Collidable < GSDL::Centerable < GSDL::Entity < GSDL::Tweenable < Reference < Object

Constructors

new(key : String, x, y, origin = {0_f32, 0_f32})
Source

Instance methods

frame=(index : Int32)
Source
show_green
Source
show_red
Source
show_red_full
Source
show_red_turn_green
Source
show_red_turn_yellow
Source
show_yellow
Source