UNPKG

slotify.js

Version:

A video slot game session framework for JavaScript

46 lines (45 loc) 1.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GameSessionConfig = void 0; var GameSessionConfig = /** @class */ (function () { function GameSessionConfig() { this._availableBets = [ 1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 100, ]; this._creditsAmount = 1000; this._bet = this._availableBets[0]; } Object.defineProperty(GameSessionConfig.prototype, "availableBets", { get: function () { return this._availableBets; }, set: function (value) { this._availableBets = value; this._bet = this._availableBets[0]; }, enumerable: false, configurable: true }); Object.defineProperty(GameSessionConfig.prototype, "creditsAmount", { get: function () { return this._creditsAmount; }, set: function (value) { this._creditsAmount = value; }, enumerable: false, configurable: true }); Object.defineProperty(GameSessionConfig.prototype, "bet", { get: function () { return this._bet; }, set: function (value) { this._bet = value; }, enumerable: false, configurable: true }); return GameSessionConfig; }()); exports.GameSessionConfig = GameSessionConfig;