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); }
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); }