Handling of tree states: Difference between revisions

From Heureka Wiki
Jump to navigation Jump to search
Fkl (talk | contribs)
Created page with '== Tree States == Each tree may have one of the following states: ;Tree: Establised tree ;IngrownTree: A tree that just has been ingrown. ;Sapling: Sapling ;WatingTree: Tree wai�?�'
 
Fkl (talk | contribs)
Line 22: Line 22:
Say that the regeneration model runs in period 2, and the saplings are to be activated in period 4. A <tt>Tree</tt> object would then have the following states for each period (before and after treatment):
Say that the regeneration model runs in period 2, and the saplings are to be activated in period 4. A <tt>Tree</tt> object would then have the following states for each period (before and after treatment):


{|
{| border="1"
|-
|-
|Period||0||1||2||3||4
|Period||width="150pt"|0||width="150pt"|1||width="150pt"|2||width="150pt"|3||width="150pt"|4
|-
|-
|State||Invalid||Invalid||Invalid||Waiting Sapling||Waiting Sapling
|State||Invalid||Invalid||Invalid||Waiting Sapling||Waiting Sapling

Revision as of 14:41, 19 May 2010