diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-11 18:39:15 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-11 18:39:15 +0200 |
commit | 12a719a9fd9b8e89159c407c3b612b226c860778 (patch) | |
tree | fdfdb2d78bde252946a27d04d44ce9e1cafe2e15 /GrayTileBehavior.cpp | |
parent | 70feb9ed564fb7f557b7ab8b8d65e6376811b6ce (diff) |
add placeholder tile behaviors
Diffstat (limited to 'GrayTileBehavior.cpp')
-rw-r--r-- | GrayTileBehavior.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/GrayTileBehavior.cpp b/GrayTileBehavior.cpp new file mode 100644 index 0000000..af054d5 --- /dev/null +++ b/GrayTileBehavior.cpp @@ -0,0 +1,17 @@ +#include <memory> + +#include "GrayTileBehavior.h" + +using namespace std; + +GrayTileBehavior GrayTileBehavior::instance {"G"}; + +void GrayTileBehavior::run(Tile &) { + printf("TODO: %s\n", __PRETTY_FUNCTION__); +} + +unique_ptr<TileBehaviorStrategy> GrayTileBehavior::clone() { + auto instance = new GrayTileBehavior(); + return unique_ptr<TileBehaviorStrategy>(instance); +} + |