-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLiseuse.hpp
53 lines (44 loc) · 866 Bytes
/
Liseuse.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
** EPITECH PROJECT, 2022
** Liseuse
** File description:
** liseuse
*/
#ifndef LISEUSE_HPP_
#define LISEUSE_HPP_
#include <stdio.h>
#include <sstream>
#include <cstdlib>
#include <curlpp/cURLpp.hpp>
#include <curlpp/Easy.hpp>
#include <curlpp/Options.hpp>
#include <curlpp/Exception.hpp>
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
#include <vector>
class Liseuse
{
private:
std::string url;
sf::RenderWindow window;
sf::Texture bt;
sf::Texture btNext;
sf::Sprite bs;
sf::Clock timer;
sf::View view;
sf::Sound sfx;
sf::SoundBuffer bsfx;
sf::Sound sfx2;
sf::SoundBuffer bsfx2;
public:
void setTextures();
void move(int mody, int modx = 0);
void changePng(int modI);
void play();
Liseuse(std::string _url);
~Liseuse();
};
Liseuse::~Liseuse()
{
}
#endif /* !LISEUSE_HPP_ */