FoliageLayerOptions beta
Interface of @v12-engine/engine
export interface FoliageLayerOptionsOne layer of grass or bushes of the pack (foliagePack): its id, what its styles are where they say nothing, how it hides and who tramples it
Members
conceal
conceal?: FoliageConceal;How it hides who stands in the styles that conceal (FoliageConceal): reach, what it hides, the rustle
layer
layer: string;The layer of cells (Rules.cellLayers): its values are the styles (CellLayerValue.foliage)
style
style?: FoliageStyleDef;What every style of the layer is where it says nothing of its own: a layer of one kind of grass says it all here
tramples
tramples?: (world: World, entity: Entity) => boolean;Who crushes the styles that are crushed (FoliageStyleDef.trample), asked of a unit as it moves over one: every unit that walks when left out (not structures, nor what flies or sails), since a style is crushed only where it says so. A game's own for the heavy ones alone: (world, unit) => unit.def.radius >= 1