diff --git a/gamecube.h b/gamecube.h index bbe0028..c121aeb 100644 --- a/gamecube.h +++ b/gamecube.h @@ -3,7 +3,7 @@ #include "raylib.h" #include -struct Vec3 +struct Vec3 //anisch unnötig weil rylib schon vec3 hat { float x, y, z; }; @@ -22,7 +22,7 @@ public: Vec3 GetPosition() const; float GetRotationY() const; Color GetColor() const { return color; } - +//zustände klarer abbikden bzw weniger bools = klarare Logik private: Vec3 position; Color color; @@ -31,4 +31,5 @@ private: bool flippingForward = false; bool flippingBackward = false; float rotation = 0.0f; -}; \ No newline at end of file +}; +// braucht bessere trennung von logik & darstellung \ No newline at end of file