F.E.I.S/Marker.h
2017-08-17 19:10:53 +02:00

36 lines
433 B
C++

//
// Created by Syméon on 17/08/2017.
//
#ifndef FEIS_MARKER_H
#define FEIS_MARKER_H
#include <iostream>
#include <SFML/Graphics.hpp>
#include <map>
enum Etat {
APPROCHE,
MISS,
EARLY,
GOOD,
GREAT,
PERFECT
};
class Marker {
public:
Marker(std::string folder = "mk0004");
sf::Sprite getSprite(Etat etat, int frame);
private:
std::map<std::string,sf::Texture> textures;
std::string path;
};
#endif //FEIS_MARKER_H