123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef Map_H
- #define Map_H
- #include <Bild.h>
- using namespace Framework;
- class Map
- {
- private:
- RCArray< Array< int > > *map;
- int score;
- int breite;
- int höhe;
- int geschwindigkeit;
- int bAnzahl;
- double next;
- bool beendet;
- bool sr;
- bool rend;
- int ref;
- // private
- void remove( int x, int y );
- public:
- // Konstruktor
- Map();
- // Destruktor
- ~Map();
- // nicht constant
- void reset();
- void doMausEreignis( MausEreignis &me );
- void doTastaturEreignis( TastaturEreignis &te );
- bool tick( double tickVal );
- void render( Bild &zRObj );
- // constant
- void speichern() const;
- int getScore() const;
- bool istBeendet() const;
- // Reference Counting
- Map *getThis();
- Map *release();
- };
- #endif
|