Do some more refactoring
This commit is contained in:
parent
c892ca2d01
commit
24cc572e47
29 changed files with 191 additions and 152 deletions
11
frontend/src/scripts/input/commands/key-down.ts
Normal file
11
frontend/src/scripts/input/commands/key-down.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { Command } from '../../commands/command';
|
||||
|
||||
export class KeyDownCommand extends Command {
|
||||
public constructor(public readonly key?: string) {
|
||||
super();
|
||||
}
|
||||
|
||||
public get type(): string {
|
||||
return 'KeyDownCommand';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue