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

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

            SceneStateTract.SetScoreHigh(pScoreHigh);

            Scene pScene = SceneMan.GetScene();

            pScene.Unload();
        }