Skip to content

Commit

Permalink
Renamed logisticGrowth to growBiomass and added the action pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
olekscode committed Dec 5, 2024
1 parent c2b0b89 commit 440d430
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/ECEC-Model/ECECVegetationUnit.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ ECECVegetationUnit >> biomass: anObject [
biomass := anObject
]

{ #category : 'growth' }
ECECVegetationUnit >> growBiomass [
<action>
self biomass: (self logisticGrowth: self biomass r: self class r k: self class k)
]

{ #category : 'as yet unclassified' }
ECECVegetationUnit >> hello [
^ 'world'
Expand Down Expand Up @@ -99,12 +105,6 @@ ECECVegetationUnit >> interestingDetails [
}
]

{ #category : 'growth' }
ECECVegetationUnit >> logisticGrowth [

self biomass: (self logisticGrowth: self biomass r: self class r k: self class k)
]

{ #category : 'pov' }
ECECVegetationUnit >> povBiomass [

Expand Down Expand Up @@ -169,5 +169,5 @@ ECECVegetationUnit >> povImage [
ECECVegetationUnit >> step [

counter := counter + 1.
self logisticGrowth
self growBiomass
]

0 comments on commit 440d430

Please sign in to comment.