changement mineur
This commit is contained in:
parent
4df1d982d1
commit
d62603b9c3
@ -2,7 +2,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
//Inlining des acesseur dans GOLTeam.h
|
||||
|
||||
|
||||
@ -225,7 +224,7 @@ void GOLTeamH::setBorderManagement(BorderManagement borderManagement)
|
||||
switch (borderManagement)
|
||||
{
|
||||
case BorderManagement::immutableAsIs:
|
||||
// Aucune action nécessaire, les cellules du contour restent inchangées
|
||||
|
||||
break;
|
||||
|
||||
case BorderManagement::foreverDead:
|
||||
@ -244,6 +243,7 @@ void GOLTeamH::setBorderManagement(BorderManagement borderManagement)
|
||||
|
||||
break;
|
||||
}
|
||||
mIteration = 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <optional>
|
||||
|
@ -138,7 +138,7 @@ void GridTeamH::randomize(double percentAlive)
|
||||
//sans changer les autres case
|
||||
void GridTeamH::setBorderValue(CellType initValue)
|
||||
{
|
||||
|
||||
|
||||
// Boucle pour parcourir chaque ligne de la grille
|
||||
for (size_t row = 0; row < mHeight; row++) {
|
||||
// Boucle pour parcourir chaque colonne de la grille
|
||||
|
Loading…
Reference in New Issue
Block a user