Bicycle module contains the bicycle class. Bicycles are a useful way of transporting oneself, without too much effort.
Members | Descriptions |
---|---|
class transport::Bicycle |
Standard bicycle class. |
Standard bicycle class.
Bicycle implements a standard bicycle. Bicycles are a useful way of transporting oneself, without too much effort (unless you go uphill or against the wind). If there are a lot of people on the road, you can use RingBell
to ring your bell (note, not all bicycles have bells!).
Members | Descriptions |
---|---|
public virtual void PedalHarder () |
PedalHarder makes you go faster (usually). |
public virtual void RingBell () |
Ring bell on the bike. |
public virtual ~Bicycle () |
Default destructor. |
public virtual void
PedalHarder
()
{#classtransport_1_1Bicycle_1a7df6cce8f18012fb07bef5be9dadd8ef}
PedalHarder makes you go faster (usually).
public virtual void
RingBell
()
{#classtransport_1_1Bicycle_1a7d2be572f09c78b4d4ae38ef22f3e98b}
Ring bell on the bike.
RingBell rings the bell on the bike. Note that not all bikes have bells.
public virtual
~Bicycle
()
{#classtransport_1_1Bicycle_1a5f62d09b772a7705634bfb3551803c25}
Default destructor.