The goal of this simulation is to model the behavior of trees in autumn, to forecast how long it will take before all trees are bare.
Entities
- Trees
- Leaves
this is a test to see why is lagging
Relationships
- Each Tree has Leaves
Entity fields
- Each Leaf has health points
- Each Leaf has a rate of decay
Behavior
- When the Leaf health point reaches 0, the leaf falls
- When all the leaves have fallen, the tree is in Winter mode