Browse code

fix #121 bouton capricieux

devnewton authored on 26/07/2014 at 10:24:48
Showing 1 changed files
... ...
@@ -39,8 +39,8 @@ public class InGameButton extends Button {
39 39
     }
40 40
 
41 41
     @Override
42
-    public void onOK() {
43
-        activated = true;
42
+    public void onMouseHover(float mouseX, float mouseY, boolean mouseButtonDown) {
43
+        activated = mouseButtonDown;
44 44
     }
45 45
 
46 46
     public boolean pollActivation() {