UNPKG

@runox-game/game-engine

Version:
17 lines (16 loc) 553 B
import { GameCommand } from './game.command'; import { IGameState } from '../models/game-state.model'; import { CommandValidation } from './command-result'; import { GameModes } from '../models/game-modes'; /** * Class that allows the game to start */ export declare class StartGameCommand extends GameCommand { private readonly gameModes; /** * Class that allows the game to start */ constructor(gameModes?: GameModes); execute(state: IGameState): void; validate(state: IGameState): CommandValidation; }