Comparing version 0.0.3 to 0.0.4
@@ -38,3 +38,10 @@ import PIXIUtils from 'common-game/pixiUtils.js'; | ||
} | ||
start() { | ||
this.gameStatus = "start"; | ||
} | ||
stop() { | ||
this.gameStatus = "stop"; | ||
} | ||
fullClick(type, e) { | ||
if (this.gameStatus !== "start") { return false; } | ||
let x = e.data.global.x, y = e.data.global.y; | ||
@@ -41,0 +48,0 @@ if (type == "start") { |
{ | ||
"name": "img-model", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "imgModel.js", |
16116
105