Refactor backend to use commands
This commit is contained in:
parent
503c99cb1f
commit
7cf33b9f1a
18 changed files with 144 additions and 156 deletions
7
backend/src/commands/generate-points.ts
Normal file
7
backend/src/commands/generate-points.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Command, GameObject } from 'shared';
|
||||
|
||||
export class GeneratePointsCommand extends Command {
|
||||
public constructor(public readonly decla: number, public readonly red: number) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue