improve keyboard input
This commit is contained in:
parent
e9d1596c2f
commit
9533184a94
9 changed files with 49 additions and 16 deletions
|
@ -14,6 +14,12 @@ class Player {
|
|||
this.delta = [];
|
||||
|
||||
this.chatCooldown = 0;
|
||||
|
||||
this.inputInterface = [
|
||||
'thrust',
|
||||
'aim',
|
||||
'fire'
|
||||
];
|
||||
}
|
||||
|
||||
disconnect() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue