abstract class Looper::Vehicle
- Looper::Vehicle
- Looper::Obj
- Reference
- Object
Direct Known Subclasses
Defined in:
looper/vehicle.crConstructors
Class Method Summary
Instance Method Summary
- #accelerate(frame_time)
- #braking? : Bool
- #draw
- #drifting? : Bool
- #input(frame_time)
- #movement(frame_time)
- #player? : Bool
- #reverse? : Bool
- #rotation : Int32 | Float32
- #turn(time_and_direction)
- #turn_left(frame_time)
- #turn_right(frame_time)
- #update(frame_time)
Instance methods inherited from class Looper::Obj
collision?(x, y, width, height)collision?(objs : Array(Obj))
collision?(rects : Array(Rectangle))
collision?(tris : Array(Triangle))
collision?(obj : Obj)
collision?(rect : Rectangle)
collision?(tri : Triangle) collision?, draw draw, height : Int32 height, height=(height : Int32) height=, hit_box hit_box, inside?(x, y) inside?, update(frame_time) update, width : Int32 width, width=(width : Int32) width=, x : Int32 | Float32 x, x=(x : Int32 | Float32) x=, y : Int32 | Float32 y, y=(y : Int32 | Float32) y=