VideoKarte.h 612 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef VideoKarte_H
  2. #define VideoKarte_H
  3. #include <Bild.h>
  4. using namespace Framework;
  5. class VideoKamera;
  6. class VideoKarte
  7. {
  8. private:
  9. RCArray< LRahmen > *rahmen;
  10. RCArray< Bild > *map;
  11. int runde;
  12. int ref;
  13. public:
  14. // Konstruktor
  15. VideoKarte();
  16. // Destruktor
  17. ~VideoKarte();
  18. // nicht constant
  19. void setSize( int br, int hö );
  20. void nextRunde( bool vorwärts );
  21. void render( VideoKamera *zKam, Bild &zRObj );
  22. // constant
  23. int getBreite() const;
  24. int getHeight() const;
  25. Bild *zMap() const;
  26. Bild *zMap( int runde ) const;
  27. // Reference Counting
  28. VideoKarte *getThis();
  29. VideoKarte *release();
  30. };
  31. #endif