Chemistry · interface

SubstanceLibrary

Explained in Chemistry.

interface SubstanceLibrary
import type { SubstanceLibrary } from '@driftengine/chemistry';

Properties

NameTypeDescription
idreadonlystring
speciesreadonlyreadonly SpeciesDefinition[]Species this family needs that the standard table does not carry. Usually none.
reactionsreadonlyreadonly Reaction[]

Methods

substances

substances(species: SpeciesRegistry): readonly SubstanceThermal[]
ParameterTypeDescription
speciesSpeciesRegistry