Improve agent agression
This commit is contained in:
parent
f7d24a22b6
commit
a95a5f83a3
8 changed files with 66 additions and 92 deletions
|
|
@ -188,15 +188,7 @@ export default class GameLoop {
|
|||
].forEach((pipeline) =>
|
||||
pipeline.setParameters({
|
||||
time,
|
||||
evenGenerationAggression:
|
||||
this.gameRules.nextGenerationId % 2
|
||||
? -1
|
||||
: this.gameRules.nextGenerationAgression,
|
||||
oddGenerationAggression:
|
||||
this.gameRules.nextGenerationId % 2
|
||||
? this.gameRules.nextGenerationAgression
|
||||
: -1,
|
||||
nextGenerationId: this.gameRules.nextGenerationId,
|
||||
isNextGenerationOdd: this.gameRules.nextGenerationId % 2,
|
||||
deltaTime,
|
||||
canvasSize: this.canvasSize,
|
||||
brushColor: GamePresentation.getGenerationColor(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue