UNPKG

sparkscript

Version:
29 lines 829 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GameCondition = exports.GameAction = void 0; const components_1 = require("../core/components"); class GameAction extends components_1.ActionBlock { /** * Used to do something related to the plot and everyone playing it. * @param action Action to perform. * @param args Arguments to pass. */ constructor(action, ...args) { super("game_action", action, args, false); } } exports.GameAction = GameAction; class GameCondition extends components_1.ConditionalBlock { /** * */ constructor(action, ...args) { super("if_game", action, args, false); } } exports.GameCondition = GameCondition; exports.default = { GameAction, GameCondition }; //# sourceMappingURL=Game.js.map