Karte.h 524 B

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