UNPKG

@runox-game/game-engine

Version:
15 lines (14 loc) 537 B
import { GameCommand } from './game.command'; import { IGameState } from '../models/game-state.model'; import { CommandValidation } from './command-result'; /** * Class that allows the end of the current player's turn and select the next one */ export declare class FinalizeTurnCommand extends GameCommand { /** * Class that allows the end of the current player's turn and select the next one */ constructor(); execute(state: IGameState): void; validate(state: IGameState): CommandValidation; }