Add basic multiplayer
This commit is contained in:
parent
0f0a1eaf67
commit
46a48e7c15
1 changed files with 1361 additions and 753 deletions
7
shared/src/commands/command.ts
Normal file
7
shared/src/commands/command.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Id } from '../transport/identity';
|
||||
|
||||
export abstract class Command {
|
||||
public get type(): string {
|
||||
return (this as any).constructor.type;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue