diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-05 15:05:36 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-05 15:05:36 +0100 |
commit | aeeca45ae53c2382354f26fb4dae02fbda62b314 (patch) | |
tree | 04e94114d58b2fa726943c590d3261ed472507ea /yage/core/spritesheet.h | |
parent | 0d10ba12062144a270a368ef9bffd88517a6c27c (diff) | |
download | YAGE-aeeca45ae53c2382354f26fb4dae02fbda62b314.tar.gz YAGE-aeeca45ae53c2382354f26fb4dae02fbda62b314.zip |
Adding test abstraction and fixing tests
Diffstat (limited to 'yage/core/spritesheet.h')
-rw-r--r-- | yage/core/spritesheet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yage/core/spritesheet.h b/yage/core/spritesheet.h index 7b089d25..ea1db44b 100644 --- a/yage/core/spritesheet.h +++ b/yage/core/spritesheet.h @@ -16,6 +16,7 @@ * spritesheet. */ #include "../data/texture.h" +#include "../util/noncopyable.h" #include <rapidjson/reader.h> @@ -46,9 +47,10 @@ typedef std::map<std::string, details::Coordinate> SpriteMap; } // namespace details -class SpriteSheet +class SpriteSheet : public NonCopyable { public: + SpriteSheet() = default; SpriteSheet(std::string pngFileName, std::string jsonFileName); void sprite(std::string spriteName) const; |