refactor pointerControls, move away from hero to gameEngine
This commit is contained in:
@@ -306,7 +306,7 @@ export default {
|
||||
},
|
||||
|
||||
control(){
|
||||
engine.hero.lockControls();
|
||||
engine.pointerControls.lock(true);
|
||||
},
|
||||
|
||||
async fullScreen(){
|
||||
|
||||
Reference in New Issue
Block a user