You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
345 B

#ifndef APPLICATION_H
#define APPLICATION_H
#include "state.h"
#include <memory>
#include <map>
class Application
{
public:
Application();
void registerStates();
void run();
private:
sf::RenderWindow render_window;
std::map<State::Tag, StateUPtr> map_states;
State::Tag active_state_tag;
};
#endif // APPLICATION_H