#pragma once #include using namespace Framework; class Pixel : public Object2D { private: float ep; int pixelId; public: Pixel( Vertex pos, Vertex speed, float ep, int id ); bool tick( const WeltInfo &info, double zeit ) override; void render( Mat3< float > &kamMat, Bild &zRObj, const char *kamName ) override; Rect2< float > getBoundingBox() const override; float getEp() const; int getId() const; };