1 #ifndef OPHIDIAN_GUI_FPS_H
2 #define OPHIDIAN_GUI_FPS_H
4 #include <SFML/Graphics.hpp>
5 #include <boost/date_time/posix_time/posix_time.hpp>
10 class fps :
public sf::Drawable
14 boost::posix_time::ptime m_last;
15 boost::posix_time::ptime m_current;
20 void draw(sf::RenderTarget& target, sf::RenderStates states)
const;
26 #endif // OPHIDIAN_GUI_FPS_H]