상속: 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;
        }
예제 #2
0
        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);
        }