diff options
Diffstat (limited to 'src/main/cpp/Tile.cpp')
-rw-r--r-- | src/main/cpp/Tile.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/cpp/Tile.cpp b/src/main/cpp/Tile.cpp new file mode 100644 index 0000000..9fc436a --- /dev/null +++ b/src/main/cpp/Tile.cpp @@ -0,0 +1,11 @@ +#include "Tile.hpp" + +bool Tile::actor(Actor *actor) +{ + if (_actor != nullptr) { + return false; + } + + _actor = actor; + return true; +} |