Defines the Bike class.
The bike.
| Parameters: |
|
|---|
Make the bike fall over (as when it has lost momentum).
| Parameter: | rider (Character) – Whoever was riding the bike (if anybody). |
|---|
Return the ID of the command list used by the bike.
| Parameter: | lesson_id – The ID of the current lesson (ignored - bikes do not follow a timetable). |
|---|
Check whether the bike has hit a barrier.
| Parameter: | barrier_id – If set, check whether the bike has hit the barrier with this ID; otherwise check all barriers. |
|---|---|
| Returns: | The barrier that was hit, or None if none was hit. |
Start wheeling the bike along after the rider has dismounted or stood on the saddle.
| Parameter: | rider (Character) – The rider. |
|---|