Constructors
constructor
- new Diet<T>(entries?): Diet<T>
Parameters
- entries: DietEntry<T>[] = []
Properties
Accessors
garish
- get garish(): boolean
Returns boolean
pinkyRing
- get pinkyRing(): boolean
Returns boolean
refinedPalate
- get refinedPalate(): boolean
Returns boolean
saucemaven
- get saucemaven(): boolean
Returns boolean
tuxedoShirt
- get tuxedoShirt(): boolean
Returns boolean
Methods
expectedAdventures
- expectedAdventures(): number
Returns number
expectedPrice
- expectedPrice(): number
Returns number
expectedValue
- expectedValue(mpa, method?): number
Parameters
- mpa: number
- method: "gross" | "net" = "gross"
Returns number
Static
plan
- plan<T>(mpa, menu, organCapacities?): Diet<T>
Parameters
- mpa: number
- menu: MenuItem<T>[]
- organCapacities: OrganCapacity = ...
A representation of a potential diet