Skip to content

Commit

Permalink
Added pragmas to support the latest version of Cormas
Browse files Browse the repository at this point in the history
  • Loading branch information
olekscode committed Aug 14, 2024
1 parent 96fdb18 commit e892cc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ECEC-Model/ECECModel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ECECModel class >> initialNumberOfUnrestrainedForagers [

{ #category : 'init' }
ECECModel >> homogeneousEnvironment [

<init>
self
createGridNumberOfRows: 27
numberOfColumns: 27
Expand Down Expand Up @@ -84,7 +84,7 @@ ECECModel >> initializeAgents [

{ #category : 'init' }
ECECModel >> islandEnvironment [

<init>
| x y |
self homogeneousEnvironment.

Expand All @@ -111,7 +111,7 @@ ECECModel >> numberOfUnrestrainedForagers [

{ #category : 'init' }
ECECModel >> remoteIslandEnvironment [

<init>
| x y |
self homogeneousEnvironment.

Expand All @@ -124,7 +124,7 @@ ECECModel >> remoteIslandEnvironment [

{ #category : 'init' }
ECECModel >> smallEnvironment [

<init>
self
createGridNumberOfRows: 4
numberOfColumns: 4
Expand All @@ -148,7 +148,7 @@ ECECModel >> smallEnvironment [

{ #category : 'control' }
ECECModel >> step: anObject [

<control>
self
stepEntities: self theVegetationUnits;
askRandom: ECECForager toDo: #step
Expand Down

0 comments on commit e892cc8

Please sign in to comment.