This repository has been archived on 2022-12-14. You can view files and clone it, but cannot push or open issues or pull requests.
WaveGGJ17/VaporWaveWars/wave.hpp
2017-01-21 20:55:12 +01:00

21 lines
389 B
C++

#ifndef WAVE_HPP
#define WAVE_HPP
#include "commons.hpp"
class Wave : public sf::Sprite{
private:
//CONFIG
const std::string spriteFile = WORK_DIR+"Resources/pulsation.png";
//END CONFIG
bool direction; //TRUE => CAP A LA DRETA
sf::Texture texture;
public:
Wave(bool dir);
void update(float deltaTime);
bool getDirection() const;
};
#endif // WAVE_HPP