// // TouchableSprite.h // SteveMaggieCpp // // Created by Katarzyna Kalinowska-Górska on 17.05.2017. // // #ifndef TouchableSprite_h #define TouchableSprite_h #include "PlainSprite.h" class TouchableSprite : public PlainSprite { public: static TouchableSprite* createWithFile(const std::string& filename); virtual bool initWithFile(const std::string& filename) override; bool interactionEnabled; std::function touchBeganCallback; protected: virtual void configureTouchHandlers(); }; #endif /* TouchableSprite_h */