Fix issues
This commit is contained in:
parent
99cdb62928
commit
b774357807
11 changed files with 35 additions and 60 deletions
|
|
@ -25,7 +25,6 @@ import { startAnimation } from './start-animation';
|
|||
import { PlayerDecision } from './join-form-handler';
|
||||
import { GameObjectContainer } from './objects/game-object-container';
|
||||
import parser from 'socket.io-msgpack-parser';
|
||||
import { VibrationHandler } from './vibration-handler';
|
||||
|
||||
export class Game extends CommandReceiver {
|
||||
public gameObjects = new GameObjectContainer(this);
|
||||
|
|
@ -61,7 +60,7 @@ export class Game extends CommandReceiver {
|
|||
|
||||
this.keyboardListener = new KeyboardListener();
|
||||
this.mouseListener = new MouseListener(this);
|
||||
this.touchListener = new TouchListener(this.overlay, this);
|
||||
this.touchListener = new TouchListener(this.overlay, this.overlay, this);
|
||||
}
|
||||
|
||||
private initialize() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue