pokie
Version:
A server-side video slot game logic framework for JavaScript and TypeScript.
37 lines • 1.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WinningLine = void 0;
class WinningLine {
constructor(winAmount, definition, pattern, lineId, symbolsPositions, wildSymbolsPositions, symbolId) {
this.winAmount = winAmount;
this.definition = [...definition];
this.pattern = [...pattern];
this.lineId = lineId;
this.symbolsPositions = [...symbolsPositions];
this.wildSymbolsPositions = [...wildSymbolsPositions];
this.symbolId = symbolId;
}
getDefinition() {
return [...this.definition];
}
getSymbolId() {
return this.symbolId;
}
getLineId() {
return this.lineId;
}
getSymbolsPositions() {
return [...this.symbolsPositions];
}
getWildSymbolsPositions() {
return [...this.wildSymbolsPositions];
}
getWinAmount() {
return this.winAmount;
}
getPattern() {
return this.pattern;
}
}
exports.WinningLine = WinningLine;
//# sourceMappingURL=WinningLine.js.map