Vehicle

Class · class Vehicle: Thing · Source

A boardable thing that can carry an actor through travel.

Audience: author

Superclass: Thing

Declared members

  • boardDesc — property; internal
  • canEnter — method; Whether it may go to this room. A method rather than a field, because the answer is about where you are heading: asking about where you are would let a bicycle into the hall as long as it started outdoors.
  • hasBoardDesc — property; internal
  • isVehicle — property; internal
  • objPos — property; You get on a bicycle, not in one.

Inherited members

Member details

boardDesc

boardDesc = nil · Source

Internal implementation detail; no supported authoring contract is documented.

canEnter

canEnter(room) · Source

Whether it may go to this room. A method rather than a field, because the answer is about where you are heading: asking about where you are would let a bicycle into the hall as long as it started outdoors.

hasBoardDesc

hasBoardDesc = nil · Source

Internal implementation detail; no supported authoring contract is documented.

isVehicle

isVehicle = true · Source

Internal implementation detail; no supported authoring contract is documented.

objPos

objPos = posOn · Source

You get on a bicycle, not in one.