import SlotBase from "./Base/SlotBase";


export class Slot70 extends SlotBase {
	//#region public

	public get ID(): number { return 70; }
	public get FreeID(): number { return 3; }
	public get HasChoiceFreeGame(): boolean { return true; }
	public get HasRetriggerFreeSpin(): boolean { return true; }

	//#endregion

	//#region Custom

	protected _getFreeID(): number {
		let gameRunData: JSON = this.GameRunData;
		let scatterAmount: number = gameRunData["scatter"][0][0].length;
		if (scatterAmount > 4) {
			return 5;
		} else if (scatterAmount > 3) {
			return 4;
		} else {
			return this.FreeID;
		}
	}

	//#endregion
}

export default Slot70;