aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/spritesheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/spritesheet.h')
-rw-r--r--yage/core/spritesheet.h4
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;