@runox-game/game-engine
Version:
RunoX game engine
17 lines (16 loc) • 553 B
TypeScript
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;
}