Rework functions for FarmPlot and crop models
- `stepagent!` for FarmPlot that delegates to crop state stepagent! function - `harvest!`, `sow!` functions work on a `FarmPlot`, and delegate to the respective methods acting on a `CropState`
Showing
- src/crop/almass.jl 16 additions, 20 deletionssrc/crop/almass.jl
- src/crop/farmplot.jl 30 additions, 0 deletionssrc/crop/farmplot.jl
- src/crop/simplecrop.jl 30 additions, 4 deletionssrc/crop/simplecrop.jl
- src/farm/farm.jl 2 additions, 1 deletionsrc/farm/farm.jl
- test/crop_tests.jl 1 addition, 1 deletiontest/crop_tests.jl
Loading
Please register or sign in to comment