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