Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Descamps
projet_IA04
Commits
090f728c
Commit
090f728c
authored
Dec 29, 2021
by
Louis Soto
Browse files
Téléverser un nouveau fichier
parent
1753d18f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Boid/game/level.go
0 → 100644
View file @
090f728c
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
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment