#ifndef Laser_H #define Laser_H #include #include using namespace Framework; class Karte; class Laser : public Object2D { private: int id; double intensity; int sNum; public: // Konstruktor Laser( int id, Vertex pos, Vertex speed, int sNum, double intensity ); // nicht constant bool tick( const WeltInfo &info, double tickVal ) override; void render( Mat3< float > &kamMat, Bild &zRObj, const char *kamName ) override; // constant Rect2< float > getBoundingBox() const override; int getId() const; int getSpieler() const; double getIntensity() const; }; #endif