From 4486beab7beb6a80ba6a89bfa73c0fbc9708ca74 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 6 Dec 2018 17:26:07 +0800 Subject: *singleton --- src/libjin/input/je_mouse.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/libjin/input') 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); }; -- cgit v1.1-26-g67d0