26 lines
587 B
C++
26 lines
587 B
C++
#include "piece_interface.hpp"
|
|
|
|
#ifndef COSCIA_H
|
|
#define COSCIA_H
|
|
|
|
|
|
|
|
|
|
class Coscia : public PieceInterface{
|
|
private:
|
|
const sf::Vector3f coscia_Dim = {80, 200, 80};
|
|
const sf::Color coscia_Col = sf::Color::Yellow;
|
|
|
|
const std::string TEXTURE_F = std::string("cosciaF.png");
|
|
const std::string TEXTURE_L = std::string("cosciaL.png");
|
|
|
|
public:
|
|
|
|
Coscia(rb::Vector3 coords, _Float16 mass);
|
|
~Coscia();
|
|
|
|
void update(sf::Clock cl, float multiplier) override;
|
|
sf::Shape* draw(ReferencePlane plane) override;
|
|
};
|
|
|
|
#endif |