A C D G L M N O S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBlinker(int, int) - Method in class org.hololink.life.Life
-
Ajoute une forme de Blinker à un endroit précis.
- addBlock(int, int) - Method in class org.hololink.life.Life
-
Ajoute une forme de Block à un endroit précis.
- addRPentomino(int, int) - Method in class org.hololink.life.Life
-
Ajoute une forme de R-pentomino à un endroit précis.
- ALIVE - org.hololink.life.CellState
-
État vivant du
Cell
C
- Cell - Class in org.hololink.life
-
Un
Cell
représente une cellule dans le jeu Life. - Cell() - Constructor for class org.hololink.life.Cell
-
Construit un
Cell
mort. - Cell(CellState) - Constructor for class org.hololink.life.Cell
-
Construit un
Cell
avec un état initial. - CellState - Enum in org.hololink.life
-
Liste des états possibles du
Cell
.
D
- DEAD - org.hololink.life.CellState
-
État mort du
Cell
- displayGeneration() - Method in class org.hololink.LifeViewer
-
Affiche la génération courante du jeu.
G
- getGrid() - Method in class org.hololink.life.Life
-
Retourne l'état de chaque cellule du jeu.
- getNextState(int) - Method in class org.hololink.life.Cell
-
Retourne l'état du
Cell
à la prochaine génération. - getState() - Method in class org.hololink.life.Cell
-
Retourne l'état courant du
Cell
.
L
- Life - Class in org.hololink.life
-
Life
représente le Conways's Game of Life. - Life() - Constructor for class org.hololink.life.Life
-
Construit le jeu avec un tableau de 10x10.
- Life(int, int) - Constructor for class org.hololink.life.Life
-
Construit le tableau avec un nombre fixe de ligne et de colonne.
- LifeViewer - Class in org.hololink
-
Le
LifeViewer
est une classe d'affichage du jeuLife
. - LifeViewer() - Constructor for class org.hololink.LifeViewer
- liveCount() - Method in class org.hololink.life.Neighborhood
-
Détermine le nombre de
Cell
vivant dans leNeighborhood
.
M
- main(String[]) - Static method in class org.hololink.LifeViewer
-
Le programme principale du projet.
N
- Neighborhood - Class in org.hololink.life
-
Un
Neighborhood
représente lesCellState
entourant unCell
incluant lui-même. - Neighborhood(CellState[][], int, int) - Constructor for class org.hololink.life.Neighborhood
-
Construit un nouveau
Neighborhood
à partir d'une matrice d'états et de l'indice de ligne et colonne duCell
. - nextGeneration() - Method in class org.hololink.life.Life
-
Avance le jeu à la nouvelle génération.
O
- org.hololink - package org.hololink
- org.hololink.life - package org.hololink.life
S
- setState(CellState) - Method in class org.hololink.life.Cell
-
Change l'état du
Cell
T
- toString() - Method in class org.hololink.LifeViewer
-
Converti l'état du jeu en String.
V
- valueOf(String) - Static method in enum org.hololink.life.CellState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.hololink.life.CellState
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages