2016-03-28 15:23:47 +00:00
|
|
|
#ifndef __PTF_VIEW_HPP__
|
|
|
|
#define __PTF_VIEW_HPP__
|
|
|
|
|
|
|
|
#include <SFML/Graphics.hpp>
|
|
|
|
|
|
|
|
class Manager;
|
|
|
|
class Object;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Classe abstraite pour les vues
|
|
|
|
*/
|
|
|
|
class View {
|
|
|
|
public:
|
2016-03-28 17:57:55 +00:00
|
|
|
virtual ~View() {}
|
|
|
|
|
2016-03-28 15:23:47 +00:00
|
|
|
/**
|
|
|
|
* Demande le passage à la frame suivante sur
|
|
|
|
* cette vue
|
|
|
|
*/
|
|
|
|
virtual void frame(Manager& manager) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|