Template
feat: add gameStartEvent
This commit is contained in:
@@ -2,6 +2,9 @@ import { PlayerResponseDTO } from './dto/playerresponse.dto';
|
|||||||
|
|
||||||
export class GameStartEvent {
|
export class GameStartEvent {
|
||||||
type = 'start';
|
type = 'start';
|
||||||
|
constructor(public currentPlayer: PlayerResponseDTO) {
|
||||||
|
this.currentPlayer = new PlayerResponseDTO(currentPlayer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class GameDeleteEvent {
|
export class GameDeleteEvent {
|
||||||
|
|||||||
Reference in New Issue
Block a user