added rlutil.h

This commit is contained in:
2019-11-05 23:02:16 -07:00
parent 41c1116d22
commit 9204af78c9
109 changed files with 4146 additions and 532 deletions

View File

@@ -3,3 +3,20 @@
//
#include "PatternBlock.hpp"
PatternBlock::PatternBlock() :
X(4), Y(4)
{
for (int i = 0; i < Y; i++)
{
for (int j = 0; j < X; j++)
{
cells[i][j] = false;
}
}
cells[1][1] = true;
cells[1][2] = true;
cells[2][1] = true;
cells[2][2] = true;
}