blob: 9f6bf5d4566a68484585993b0ee3a65d252fbd0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef __JIN_MOUSE_H
#define __JIN_MOUSE_H
#include "../modules.h"
#ifdef JIN_MODULES_INPUT
#include "../Common/Singleton.hpp"
namespace jin
{
namespace input
{
class Mouse : public Singleton<Mouse>
{
public:
void getState(int* x, int* y);
void setVisible(bool visible);
private:
SINGLETON(Mouse);
Mouse() {};
~Mouse() {};
};
} // input
} // jin
#endif // JIN_MODULES_INPUT
#endif // __JIN_MOUSE_H
|