#include "macros.h"
#include <string>
#include <iostream>
#include "AbstractExercise.h"
#include <ctime>
#include <cstdlib>
Go to the source code of this file.
Compounds | |
class | LifeExercise |
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 = ' ' |
LifeExercise | proto ("LifeExercise") |
|
Definition at line 17 of file LifeExercise1.cpp. |
|
Definition at line 15 of file LifeExercise1.cpp. Referenced by LifeExercise::calc(), LifeMatrix::fillGlider(), LifeMatrix::fillLine(), LifeMatrix::fillRand(), LifeMatrix::fillSquare58(), and LifeMatrix::neighbours(). |
|
Definition at line 16 of file LifeExercise1.cpp. Referenced by LifeExercise::calc(), LifeMatrix::fillGlider(), LifeMatrix::fillLine(), LifeMatrix::fillRand(), and LifeMatrix::fillSquare58(). |
|
|
|
Definition at line 13 of file LifeExercise1.cpp. Referenced by LifeExercise::calc(), LifeMatrix::display(), LifeMatrix::fill(), LifeMatrix::LifeMatrix::indexLeft(), and LifeMatrix::LifeMatrix::indexRight(). |
|
Definition at line 14 of file LifeExercise1.cpp. Referenced by LifeExercise::calc(), LifeMatrix::display(), LifeMatrix::fill(), LifeMatrix::LifeMatrix::indexDown(), and LifeMatrix::LifeMatrix::indexUp(). |