5 #ifndef __RD_MOCK_INPUT_EVENT_LISTENER_HPP__
6 #define __RD_MOCK_INPUT_EVENT_LISTENER_HPP__
10 #include "InputEventListener.hpp"
12 #include "WindowEvent.hpp"
30 int getNumKeyDownPresses()
const;
31 int getNumKeyUpPresses()
const;
32 int getNumWindowEvents()
const;
36 const std::vector<Key>& getStoredKeyUpPresses()
const;
37 const std::vector<Key>& getStoredKeyDownPresses()
const;
38 const std::vector<WindowEvent>& getStoredWindowEvents()
const;
41 int num_keydown_presses;
42 std::vector<Key> stored_keydown_presses;
44 int num_keyup_presses;
45 std::vector<Key> stored_keyup_presses;
47 int num_window_events;
48 std::vector<WindowEvent> stored_window_events;
52 #endif // __RD_MOCK_INPUT_EVENT_LISTENER_HPP__
The main, catch-all namespace for Robot Devastation.
Definition: groups.dox:4
Class that represents a keyboard key.
Definition: Key.hpp:23
Class that represents a window event.
Definition: WindowEvent.hpp:19