import { Subject , Subscription } from 'rxjs' ; import { Injectable } from '@angular/core' ; @ Injectable ( ) export class StageService { constructor ( ) { } private gameTime = 2000 ; private maxTimeIndex = 3200 ; private minTimeIndex = 1500 ; private subscription : Subscription ; public mainTimer : any ; public randomTimer : any ; public timerSubject = new Subject < any > ( ) ; start ( ) { } gameOver ( ) { } }