UNPKG

@gamepark/rules-api

Version:

API to implement the rules of a board game

10 lines 422 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isEndPlayerTurn = void 0; var RuleMove_1 = require("./RuleMove"); var MoveKind_1 = require("../MoveKind"); function isEndPlayerTurn(move) { return move.kind === MoveKind_1.MoveKind.RulesMove && move.type === RuleMove_1.RuleMoveType.EndPlayerTurn; } exports.isEndPlayerTurn = isEndPlayerTurn; //# sourceMappingURL=EndPlayerTurn.js.map