PongCredits.h 428 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2011 Nokia Corporation.
  3. */
  4. #ifndef __PONGCREDITS__
  5. #define __PONGCREDITS__
  6. class PongApp;
  7. class PongCredits {
  8. public:
  9. PongCredits( PongApp *app );
  10. ~PongCredits();
  11. bool update( const float frameTime );
  12. void render();
  13. inline void die() { dead = true; }
  14. protected:
  15. PongApp *pongApp;
  16. float lifeTime;
  17. float fade;
  18. bool dead;
  19. };
  20. #endif