diff options
Diffstat (limited to 'NullTileBehavior.cpp')
-rw-r--r-- | NullTileBehavior.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/NullTileBehavior.cpp b/NullTileBehavior.cpp index 7a056a4..c5a35d9 100644 --- a/NullTileBehavior.cpp +++ b/NullTileBehavior.cpp @@ -1,16 +1,6 @@ -#include <memory> - #include "NullTileBehavior.h" using namespace std; -NullTileBehavior NullTileBehavior::instance { NullTileBehavior::type }; - void NullTileBehavior::update(Tile &) { } -unique_ptr<TileBehavior> NullTileBehavior::clone(Museum & museum) { - auto instance = new NullTileBehavior(); - instance->museum = &museum; - return unique_ptr<TileBehavior>(instance); -} - |