24 lines
611 B
C++
24 lines
611 B
C++
#include "piece_interface.hpp"
|
|
|
|
#ifndef CAVIGLIA_H
|
|
#define CAVIGLIA_H
|
|
|
|
class Caviglia : public PieceInterface{
|
|
private:
|
|
const sf::Vector3f caviglia_Dim = {60, 200, 60};
|
|
const sf::Color caviglia_Col = sf::Color(230,160,11,255);
|
|
|
|
const std::string TEXTURE_F = std::string("cavigliaF.png");
|
|
const std::string TEXTURE_L = std::string("cavigliaL.png");
|
|
|
|
|
|
public:
|
|
|
|
Caviglia(rb::Vector3 coords, _Float16 mass);
|
|
~Caviglia();
|
|
|
|
void update(sf::Clock cl, float multiplier) override;
|
|
sf::Shape* draw(ReferencePlane plane) override;
|
|
};
|
|
|
|
#endif |