struct Chemystal::Reaction
- Chemystal::Reaction
- Struct
- Value
- Object
Defined in:
chemystal/reaction.crConstructors
Instance Method Summary
- #requirements : Array(ReactionRequirement)
- #update_soup_and_run_if_fulfilled(molecule_soup : MoleculeSoup)
Constructor Detail
def self.new(requirements : Array(NamedTuple(name: String, type: String, arg: String)), spawner : Chemystal::Molecule -> _, proc : Array(Chemystal::Molecule), Chemystal::Molecule -> _ -> _)
#