YAPOG  0.0.1
Yet Another Pokemon Online Game
KeyboardGameInputEntry.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_KEYBOARDGAMEINPUTENTRY_HPP
2 # define YAPOG_KEYBOARDGAMEINPUTENTRY_HPP
3 
4 # include <SFML/Window/Keyboard.hpp>
5 
6 # include "YAPOG/Macros.hpp"
8 
9 namespace yap
10 {
12 
14  {
16 
17  public:
18 
19  explicit KeyboardGameInputEntry (Key key);
20  virtual ~KeyboardGameInputEntry ();
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_KEYBOARDGAMEINPUTENTRY_HPP