Beispiel #1
0
            //==========================================
            // Method
            //==========================================

            internal MusicShooterImpl(IReadOnlyList <IMusicGun> guns)
            {
                foreach (var gun in guns)
                {
                    m_table.Add(gun, new MusicPlayer(gun));
                }

                ShooterServices.Register(this);
            }
Beispiel #2
0
            //========================================
            // Method
            //========================================

            internal SFXShooterImpl(IReadOnlyList <ISFXWeapon> weapons)
            {
                foreach (var w in weapons)
                {
                    w.Setup();
                    m_weapons.Add(w);
                }
                ShooterServices.Register(this);
            }