aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/input/je_mouse.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-06 17:26:07 +0800
committerchai <chaifix@163.com>2018-12-06 17:26:07 +0800
commit4486beab7beb6a80ba6a89bfa73c0fbc9708ca74 (patch)
treedeccf075c5236a03a8e0c715445367d47cd0f99d /src/libjin/input/je_mouse.h
parentb3712ebdf148bd8d2d31e70734a4b7923f6038f8 (diff)
*singleton
Diffstat (limited to 'src/libjin/input/je_mouse.h')
-rw-r--r--src/libjin/input/je_mouse.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/libjin/input/je_mouse.h b/src/libjin/input/je_mouse.h
index a4e71fc..d129a07 100644
--- a/src/libjin/input/je_mouse.h
+++ b/src/libjin/input/je_mouse.h
@@ -19,25 +19,22 @@ namespace JinEngine
///
///
///
- void getState(int* x, int* y);
+ Mouse() {};
///
///
///
- void setVisible(bool visible);
-
- private:
- singleton(Mouse);
+ ~Mouse() {};
///
///
///
- Mouse() {};
+ void getState(int* x, int* y);
///
///
///
- ~Mouse() {};
+ void setVisible(bool visible);
};