Example #1
0
        private SceneMan()
        {
            // Store the states
            this.pStateTract    = new SceneStateTract();
            this.pStateGame     = new SceneStateGame();
            this.pStateGameover = new SceneStateGameover();

            // set active
            this.pScene = null;
        }
        public override void Notify()
        {
            String pScoreHigh = Int32.Parse(FontMan.Find(Font.Name.ScoreHigh).GetMessage()).ToString();

            SceneStateTract.SetScoreHigh(pScoreHigh);

            Scene pScene = SceneMan.GetScene();

            pScene.Unload();
        }