import TimeSystem from './timeSystem' ; abstract class Engine { public abstract name : string ; public abstract fps : number ; public abstract timeSystem : TimeSystem ; public abstract rate : number ; public abstract start ( ) ; public abstract pause ( ) ; public abstract unPause ( ) ; public abstract playSound ( ) ; public abstract setTimeRate ( rate ) ; public abstract destroy ( ) ; public isPaused ( ) { return this . timeSystem . isPaused ; } public getGameTime ( ) { return this . timeSystem . getElapsed ( ) ; } } export default Engine ;