Commit 090f728c authored by Louis Soto's avatar Louis Soto
Browse files

Téléverser un nouveau fichier

parent 1753d18f
package game
type Level struct {
RepulsionFactorBtwnSpecies float64
SeparationPerception float64
CohesionPerception float64
AlignPerception float64
numWall int
MaxForce float64
MaxSpeed float64
polygonSize float64
}
func NewLevel(RepulsionFactorBtwnSpecies float64,
SeparationPerception float64,
CohesionPerception float64,
AlignPerception float64,
numWall int,
MaxForce float64,
MaxSpeed float64,
polgonSize float64) *Level {
return &Level{RepulsionFactorBtwnSpecies,
SeparationPerception,
CohesionPerception,
AlignPerception,
numWall,
MaxForce,
MaxSpeed,
polgonSize}
}
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