Skip to content

Commit

Permalink
Updated ECEC to assign probe colors
Browse files Browse the repository at this point in the history
  • Loading branch information
olekscode committed Sep 1, 2024
1 parent 72661a2 commit 415547a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ECEC-Model/ECECModel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ ECECModel >> islandEnvironment [
{ #category : 'probes' }
ECECModel >> numberOfRestrainedForagers [

<probeNamed: 'Number of restrained foragers'>
<probeNamed: 'Number of restrained foragers' color: '0000FF'>
^ self theRestrainedForagers size
]

{ #category : 'probes' }
ECECModel >> numberOfUnrestrainedForagers [

<probeNamed: 'Number of unrestrained foragers'>
<probeNamed: 'Number of unrestrained foragers' color: 'FF0000'>
^ self theUnrestrainedForagers size
]

Expand Down Expand Up @@ -195,6 +195,6 @@ ECECModel >> theVegetationUnits: anObject [
{ #category : 'probes' }
ECECModel >> totalAmountOfBiomass [

<probeNamed: 'Total amount of biomass'>
<probeNamed: 'Total amount of biomass' color: '00b44c'>
^ self theVegetationUnits sum: [ :each | each biomass ]
]

0 comments on commit 415547a

Please sign in to comment.