#pragma once #include "GameObject.h" class Schalter : public GameObject { private: int id; bool aktiv = true; int aktivierungen = 0; public: Schalter( int id, int x, int y, int width, int height, bool aktive ); ~Schalter(); void setAktive() const; void press(); int getAnzahlAktivierungen() const; bool isAktive() const; int getId() const; };