Check in windows

This commit is contained in:
2019-11-06 14:03:47 -07:00
parent b85ed10846
commit 9b0d86a995
14 changed files with 41 additions and 20 deletions

View File

@@ -20,7 +20,7 @@ void LifeSimulator::insertPattern(const Pattern& pattern, std::uint8_t startX, s
{
startX += 1;
startY += 1;
std::cout << pattern.getCell(0, 0) << std::endl;
// std::cout << pattern.getCell(0, 0) << std::endl;
if (((currentScreen.size() - 1) >= pattern.getSizeY() + startY) &&
(pattern.getSizeX() + startX) <= (currentScreen[0].size() - 1))
{