Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
示例#1
0
        public DebugScreen(Game game, GameStateManager manager)
            : base(game, manager)
        {
            Players = new List<Player>();

            // Bloom
            _bloom = new BloomComponent(GameRef);
            Components.Add(_bloom);
            _bloom.Settings = new BloomSettings(null, 0.25f, 4, 2, 1, 1.5f, 1);
            _useBloom = true;
        }
        public GameplayScreen(Game game, GameStateManager manager)
            : base(game, manager)
        {
            Players = new List<Player>();

            // Timer
            _timer = new Timer(Game);

            // Bloom effect
            _bloom = new BloomComponent(this.Game);

            Components.Add(_bloom);
        }