blob: 06db74c024e3e158192a14e9eac2618cfe383fa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <vector>
#include "uiObject.h"
#include "event.h"
#include "keyCodes.h"
#include "eventManager.h"
class InputSystem {
public:
InputSystem();
void registerButton(Button* button);
void processInput();
private:
std::vector<Button*> buttons;
void processMouseClick(int mouseX, int mouseY);
};
|