From 6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Thu, 2 Jul 2026 11:55:17 -0700 Subject: Init --- Homework/cs3460/gameoflife/Pattern.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Homework/cs3460/gameoflife/Pattern.hpp (limited to 'Homework/cs3460/gameoflife/Pattern.hpp') diff --git a/Homework/cs3460/gameoflife/Pattern.hpp b/Homework/cs3460/gameoflife/Pattern.hpp new file mode 100644 index 0000000..74929c6 --- /dev/null +++ b/Homework/cs3460/gameoflife/Pattern.hpp @@ -0,0 +1,14 @@ +#include + +#ifndef PATTERN_HPP + #define PATTERN_HPP + +class Pattern +{ + public: + virtual std::uint8_t getSizeX() const = 0; + virtual std::uint8_t getSizeY() const = 0; + virtual bool getCell(std::uint8_t x, std::uint8_t y) const = 0; +}; + +#endif // PATTERN_HPP -- cgit v1.3