blob: bd25e9c90e8d704700feaa05564eb110f9e65ed9 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef __JE_MOUSE_H
#define __JE_MOUSE_H
#include "../core/je_configuration.h"
#ifdef LIBJIN_MODULES_INPUT
#include "../common/je_singleton.hpp"
namespace JinEngine
{
namespace Input
{
///
///
///
class Mouse : public Singleton<Mouse>
{
public:
///
///
///
void getState(int* x, int* y);
///
///
///
void setVisible(bool visible);
private:
singleton(Mouse);
///
///
///
Mouse() {};
///
///
///
~Mouse() {};
};
} // namespace Input
} // namespace JinEngine
#endif // LIBJIN_MODULES_INPUT
#endif // __JE_MOUSE_H
|