slotify.js
Version:
A video slot game session framework for JavaScript
44 lines (43 loc) • 1.85 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReelGameWithFreeGamesSessionConfig = void 0;
var ReelGameSessionConfig_1 = require("./ReelGameSessionConfig");
var ReelGameWithFreeGamesSessionConfig = /** @class */ (function (_super) {
__extends(ReelGameWithFreeGamesSessionConfig, _super);
function ReelGameWithFreeGamesSessionConfig(reelsNumber, reelsItemsNumber) {
if (reelsNumber === void 0) { reelsNumber = 5; }
if (reelsItemsNumber === void 0) { reelsItemsNumber = 3; }
var _this = _super.call(this, reelsNumber, reelsItemsNumber) || this;
_this._freeGamesForScatters = {
S: {
3: 10,
},
};
return _this;
}
Object.defineProperty(ReelGameWithFreeGamesSessionConfig.prototype, "freeGamesForScatters", {
get: function () {
return this._freeGamesForScatters;
},
set: function (value) {
this._freeGamesForScatters = value;
},
enumerable: false,
configurable: true
});
return ReelGameWithFreeGamesSessionConfig;
}(ReelGameSessionConfig_1.ReelGameSessionConfig));
exports.ReelGameWithFreeGamesSessionConfig = ReelGameWithFreeGamesSessionConfig;