meegoswipe.h 423 B

12345678910111213141516171819202122232425262728
  1. #ifndef MEEGOSWIPE_H
  2. #define MEEGOSWIPE_H
  3. #ifdef MY_OS_MEEGO
  4. class PongApp;
  5. class SpriteDrawInfo;
  6. class MeeGoSwipe {
  7. public:
  8. MeeGoSwipe( PongApp *app );
  9. ~MeeGoSwipe();
  10. bool update( const float frameTime );
  11. void render();
  12. inline void die() { visible = false; }
  13. protected:
  14. PongApp *pongApp;
  15. bool visible;
  16. SpriteDrawInfo sdi;
  17. };
  18. #endif
  19. #endif // MEEGOSWIPE_H