Aggiunta pavimento

This commit is contained in:
2026-06-22 18:57:07 +02:00
parent 4e763fc2af
commit d2a0256a3e
7 changed files with 95 additions and 3 deletions
-1
View File
@@ -1 +0,0 @@
#include "piece_interface.hpp"
+25
View File
@@ -0,0 +1,25 @@
#include "piece_interface.hpp"
#ifndef PAVIMENTO_H
#define PAVIMENTO_H
class Pavimento : public PieceInterface{
private:
const sf::Vector3f pavimento_Dim = {600, 20, 600};
const sf::Color pavimento_Col = sf::Color(255,255,255,255);
const std::string TEXTURE_F = std::string("pavimentoF.png");
const std::string TEXTURE_L = std::string("pavimentoL.png");
public:
Pavimento(rb::Vector3 coords, _Float16 mass);
~Pavimento();
void update(sf::Clock cl, float multiplier) override {};
sf::Shape* draw(ReferencePlane plane) override;
};
#endif