diff options
Diffstat (limited to 'pattern.h')
-rw-r--r-- | pattern.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -7,10 +7,10 @@ class Pattern { private: - double patt_width; - double patt_center[2]; int patt_id; protected: + double patt_width; + double patt_center[2]; double patt_trans_kake[3][4]; public: @@ -21,16 +21,20 @@ class Pattern { virtual void draw() = 0; }; -class KakePattern : public Pattern { +class SpritePattern : public Pattern { private: - Texture* tex; public: - KakePattern(); + SpritePattern(Texture* _tex); protected: virtual void draw(); }; +class KakePattern : public SpritePattern { + public: + KakePattern(); +}; + #endif |