home *** CD-ROM | disk | FTP | other *** search
- class CSessionManager
- {
- var sndOverallVolume;
- var sndMusicVolume;
- var sndEffectsVolume;
- var numPlayPerGame;
- static var _oI;
- var firstTimeOffense = true;
- var firstTimeDefense = true;
- var firstTimer = true;
- var justEndTutorial = 0;
- function CSessionManager(_mcroot)
- {
- this.sndOverallVolume = 90;
- this.sndMusicVolume = 70;
- this.sndEffectsVolume = 80;
- this.numPlayPerGame = 3;
- }
- function saveSession()
- {
- }
- function loadSession()
- {
- }
- static function _buildInstance()
- {
- CSessionManager._oI = new CSessionManager();
- return CSessionManager._oI;
- }
- static function ins()
- {
- return !(CSessionManager._oI instanceof CSessionManager) ? CSessionManager._buildInstance() : CSessionManager._oI;
- }
- }
-