AccountAktivität.h 833 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef AccountAktivität_H
  2. #define AccountAktivität_H
  3. #include <AuswahlBox.h>
  4. #include <Diagramm.h>
  5. #include <Fenster.h>
  6. #include <Thread.h>
  7. using namespace Framework;
  8. class AccountAktivität : public Thread
  9. {
  10. private:
  11. Fenster *aktivitätF;
  12. LDiag *online;
  13. LDiag *spiele;
  14. int status;
  15. int accId;
  16. int animation;
  17. unsigned char alpha;
  18. double tickVal;
  19. bool rend;
  20. public:
  21. // Konstruktor
  22. AccountAktivität( Schrift *zSchrift );
  23. // Destruktor
  24. ~AccountAktivität();
  25. // nicht constant
  26. void reset();
  27. void ladeStatistik( int accId );
  28. virtual void thread();
  29. void setSichtbar( bool sichtbar, bool nachRechts );
  30. bool tick( double zeit );
  31. void render( Bild &zRObj );
  32. // constant
  33. int getStatus() const;
  34. // löscht das objekt wenn es nicht mehr gebraucht wird und beendet den Thread
  35. Thread *release() override;
  36. };
  37. #endif