Ejemplo n.º 1
0
        public BarVisualizer(Game parent, Vector2 position, string[] assetNames, Vector2 assetDimentions)
        {
            _bars = new SoundBar[16];

            for (int i = 0; i < 16; i++)
            {
                _bars[i] = new SoundBar(parent, new Vector2(position.X + (5 * i), position.Y), new int[3] { 10, 3, 3 }, new int[3] { 40, 20, 40 }, assetNames, assetDimentions);
            }
        }
Ejemplo n.º 2
0
        public BarVisualizer(Game parent, Vector2 position, string[] assetNames, Vector2 assetDimentions)
        {
            _bars = new SoundBar[16];

            for (int i = 0; i < 16; i++)
            {
                _bars[i] = new SoundBar(parent, new Vector2(position.X + (5 * i), position.Y), new int[3] {
                    10, 3, 3
                }, new int[3] {
                    40, 20, 40
                }, assetNames, assetDimentions);
            }
        }