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
marti.lloveras 71d87ed23c suicide
2017-01-21 18:30:37 +01:00

25 lines
528 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";
//POSICIO PLAYER 1
float posX1 = W_WIDTH*0.05f, posY1 = W_HEIGHT*0.6f;
//POSICIO PLAYER 2
float posX2 = W_WIDTH*0.65f, posY2 = W_HEIGHT*0.6f;
//END CONFIG
bool direction; //TRUE => CAP A LA DRETA
sf::Texture texture;
public:
Wave();
Wave(bool dir);
void update(float deltaTime);
};
#endif // WAVE_HPP