123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef MiniGame_H
- #define MiniGame_H
- #include <Bild.h>
- #include <Text.h>
- #include <AlphaFeld.h>
- #include <Rahmen.h>
- using namespace Framework;
- class MiniGame : public virtual ReferenceCounter
- {
- private:
- double xPos;
- double yPos;
- int xAbs;
- int yAbs;
- int zXPos;
- int zYPos;
- double xSpeed;
- double ySpeed;
- Text* name;
- Bild* bgBild;
- AlphaFeld* mausAlpha;
- LRahmen* rahmen;
- bool sichtbar;
- unsigned char alpha;
- bool mausIn;
- bool ok;
- bool rend;
- public:
-
- MiniGame(const char* name);
-
- ~MiniGame();
-
- void setPosition(int x, int y);
- void setSichtbar(bool sichtbar);
- void doPublicMausEreignis(MausEreignis& me);
- bool tick(double z);
- void render(Bild& zRObj);
-
- Text* zName();
- bool istOk() const;
- };
- #endif
|