diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:55:17 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:55:17 -0700 |
| commit | 6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6 (patch) | |
| tree | ed97e39ec77c5231ffd2c394493e68d00ddac5a4 /Homework/cs3460/gameoflife/Pattern.hpp | |
| download | misc-undergrad-6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6.tar.gz misc-undergrad-6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6.zip | |
Diffstat (limited to 'Homework/cs3460/gameoflife/Pattern.hpp')
| -rw-r--r-- | Homework/cs3460/gameoflife/Pattern.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
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 <cstdint> + +#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 |
