Added ruleset to model thaw after ice-age, and separated out the

herbivore/predation rules into a separate ruleset 'ecology.txt'
This commit is contained in:
Simon Brooke 2014-07-21 11:20:38 +01:00
parent cbdf01c4c2
commit ea1af2103f
7 changed files with 212 additions and 22 deletions

View file

@ -3033,8 +3033,7 @@ net.brehaut.ClojureTools = (function (SH) {
</td><td class="codes"></td></tr><tr><td class="docs">
</td><td class="codes"><pre class="brush: clojure">(ns mw-engine.core
(:require [mw-engine.world :as world]
mw-engine.natural-rules
mw-engine.utils))</pre></td></tr><tr><td class="docs"><p>Every rule is a function of two arguments, a cell and a world. If the rule
mw-engine.utils))</pre></td></tr><tr><td class="docs"><p>Every rule is a function of two arguments, a cell and a world. If the rule
fires, it returns a new cell, which should have the same values for :x and
:y as the old cell. Anything else can be modified.</p>