UNPKG

@gamepark/rules-api

Version:

API to implement the rules of a board game

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