Commit 95c6ff2f authored by Louis Soto's avatar Louis Soto
Browse files

correctif levels

parent 38e28ee5
......@@ -9,6 +9,7 @@ type Level struct {
MaxForce float64
MaxSpeed float64
polygonSize float64
SharkDensity int
}
func NewLevel(RepulsionFactorBtwnSpecies float64,
......@@ -18,7 +19,8 @@ func NewLevel(RepulsionFactorBtwnSpecies float64,
numWall int,
MaxForce float64,
MaxSpeed float64,
polgonSize float64) *Level {
polgonSize float64,
SharkDensity int) *Level {
return &Level{RepulsionFactorBtwnSpecies,
SeparationPerception,
CohesionPerception,
......@@ -26,5 +28,6 @@ func NewLevel(RepulsionFactorBtwnSpecies float64,
numWall,
MaxForce,
MaxSpeed,
polgonSize}
polgonSize,
SharkDensity}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment