@runox-game/game-engine
Version:
RunoX game engine
15 lines (14 loc) • 511 B
TypeScript
import { GameCommand } from './game.command';
import { IGameState } from '../models/game-state.model';
import { CommandValidation } from './command-result';
/**
* Class that allows the current player to take a card from the deck
*/
export declare class TakeDeckCardCommand extends GameCommand {
/**
* Class that allows the current player to take a card from the deck
*/
constructor();
execute(state: IGameState): void;
validate(state: IGameState): CommandValidation;
}