YAPOG  0.0.1
Yet Another Pokemon Online Game
MouseGameInputEntry.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_MOUSEGAMEINPUTENTRY_HPP
2 # define YAPOG_MOUSEGAMEINPUTENTRY_HPP
3 
4 # include <SFML/Window/Mouse.hpp>
5 
6 # include "YAPOG/Macros.hpp"
8 
9 namespace yap
10 {
11  typedef sf::Mouse::Button MouseButton;
12 
14  {
16 
17  public:
18 
19  explicit MouseGameInputEntry (MouseButton button);
20  virtual ~MouseGameInputEntry ();
21 
22  virtual void Update (const GuiEvent& guiEvent);
23 
24  private:
25 
26  virtual bool GuiEventIsCompatible (const GuiEvent& guiEvent) const;
27 
29  };
30 } // namespace yap
31 
32 #endif // YAPOG_MOUSEGAMEINPUTENTRY_HPP