Ejemplo n.º 1
0
        public override void Initialize(Microsoft.Xna.Framework.Content.ContentManager content)
        {
            base.Initialize(content);

            BlankNess n = new BlankNess();
            n.Initialize(Content);
            n.fadeSpeed = 3.0f;
            n.fullBlankity = 0.2f;
            Components.Add(n);

            PauseScreenPusher pauseScreenPusher = new PauseScreenPusher();
            pauseScreenPusher.Initialize(Content);
            pauseScreenPusher.screen = this;
            Components.Add(pauseScreenPusher);
        }
Ejemplo n.º 2
0
        public override void Initialize(Microsoft.Xna.Framework.Content.ContentManager content)
        {
            base.Initialize(content);

            BlankNess n = new BlankNess();

            n.Initialize(Content);
            n.fadeSpeed    = 3.0f;
            n.fullBlankity = 0.2f;
            Components.Add(n);


            PauseScreenPusher pauseScreenPusher = new PauseScreenPusher();

            pauseScreenPusher.Initialize(Content);
            pauseScreenPusher.screen = this;
            Components.Add(pauseScreenPusher);
        }