예제 #1
0
        static GameObjects()
        {
            IO = new AppDataJsonIo("ModeaJet Grand Resort");
#if DEBUG
            Dilemmas   = new Dilemmas();
            Hud        = new Hud();
            Characters = new Characters();
            Locations  = new Locations();
            Objectives = new Objectives();
#endif
        }
예제 #2
0
        public static void InitIfNeeded()
        {
            //Cursors.Default = Cursors.LoadCustomCursor("Content/Cursors/PacmanGhost.ani");
            //Cursors.Interactive = Cursors.LoadCustomCursor(InsertInteractiveCursorHere);
            //CurrentGame.Cursor = Cursors.Default;
            if (_hasInit)
            {
                return;
            }
#if !DEBUG
            Dilemmas   = new Dilemmas();
            Hud        = new Hud();
            Characters = new Characters();
            Locations  = new Locations();
            Objectives = new Objectives();
#endif
            Dilemmas.Init();
            Hud.Init();
            Characters.Init();
            Objectives.Init();
            _hasInit = true;
        }