Preparazione controllo visibilità collezioni

This commit is contained in:
2026-06-23 11:31:19 +02:00
parent f74155e9f7
commit 2dfd574814
3 changed files with 44 additions and 37 deletions
@@ -11,10 +11,17 @@ struct collection{
class CollectionInterface{
protected:
float transparency = 1.0;
bool isVisible = true;
public:
virtual collection create(ReferencePlane plane) = 0;
virtual void update(sf::Clock cl, float multiplier) = 0;
virtual bool setTransparency(float alpha) = 0;
float getTransparency() {
return transparency;
}
virtual bool setVisibility(bool c);
virtual ~CollectionInterface(){};
};