22 lines
354 B
C++
22 lines
354 B
C++
//
|
|
// Created by Brady Bodily on 11/5/19.
|
|
//
|
|
|
|
#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;
|
|
} |