Skip to content

five-on-it / packages/sim/src/garages / GarageOffer

Interface: GarageOffer ​

Defined in: packages/sim/src/garages.ts:61

What a garage offers a car at its wheel: the garage's index and the price of each service it does ($).

Properties ​

car ​

car: number

Defined in: packages/sim/src/garages.ts:65

The car standing in it.


garage ​

garage: number

Defined in: packages/sim/src/garages.ts:63

The garage's index in the level.


respray? ​

optional respray?: number

Defined in: packages/sim/src/garages.ts:67

The price of a respray; absent where it does none.


store? ​

optional store?: number

Defined in: packages/sim/src/garages.ts:69

The price of storing the car; absent where it stores none, or the car is another player's.