export class SoundPlayer { private _foo : string ; public constructor ( ) { this . _foo = 'bar' ; } public playSoundFile ( fileName ) { console . log ( 'Playing sound file ' + fileName ) ; console . log ( 'Foo=' + this . _foo ) ; } }