class Chemystal::ChemicalMachine
- Chemystal::ChemicalMachine
- Reference
- Object
Overview
A Chemical Machine has a molecule soup and a reaction collection. When activated it runs reactions based on the molecules available in the soup as ressources for those reactions
Defined in:
chemystal/chemical_machine.crConstructors
Instance Method Summary
-
#add_molecule(molecule : Molecule)
Adds a molecule to the soup
-
#add_reaction(reaction : Reaction)
Adds a reaction to the collection
-
#run
Runs the chemical machine