#include "macros.h"
#include <string>
#include <iostream>
#include "AbstractExercise.h"
#include <ctime>
#include <cstdlib>
#include "Life001.h"
Go to the source code of this file.
Classes | |
class | ModN |
class | LifeMatrix |
Typedefs | |
typedef char | lifeMatrix_t [SIZE_X][SIZE_Y] |
Variables | |
const int | SIZE_X = 30 |
const int | SIZE_Y = 20 |
const char | ALIVE = '*' |
const char | DEAD = ' ' |
typedef char lifeMatrix_t[SIZE_X][SIZE_Y] [static] |
Definition at line 16 of file Life001.cpp.
const char ALIVE = '*' [static] |
Definition at line 14 of file Life001.cpp.
Referenced by LifeMatrix::enliven(), LifeMatrix::fillGlider(), LifeMatrix::fillLine(), LifeMatrix::fillRand(), LifeMatrix::fillSquare58(), and LifeMatrix::isAlive().
const char DEAD = ' ' [static] |
Definition at line 15 of file Life001.cpp.
Referenced by LifeMatrix::fillGlider(), LifeMatrix::fillLine(), LifeMatrix::fillRand(), LifeMatrix::fillSquare58(), and LifeMatrix::kill().
const int SIZE_X = 30 [static] |
Definition at line 12 of file Life001.cpp.
Referenced by Life001::calculate(), LifeMatrix::display(), and LifeMatrix::fill().
const int SIZE_Y = 20 [static] |
Definition at line 13 of file Life001.cpp.
Referenced by Life001::calculate(), LifeMatrix::display(), and LifeMatrix::fill().