UNPKG

@gamepark/rules-api

Version:

API to implement the rules of a board game

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