예제 #1
0
        public ShieldProjectorCannon(GDGameScreen scrn, ShieldProjectorBlueprint bp, Fraction[] fractions) :
            base(scrn, fractions, bp.Player, bp.X, bp.Y, bp.Diameter, bp.CannonID, bp.Rotation, bp.PrecalculatedPaths)
        {
            Blueprint = bp;
            _screen   = scrn;
            _muted    = scrn.IsPreview;

            LaserSource = scrn.LaserNetwork.AddSource(this);

            _soundeffect          = MainGame.Inst.GDSound.GetEffectLaser(this);
            _soundeffect.IsLooped = true;
        }
예제 #2
0
 private void DrawShieldProjector(ShieldProjectorBlueprint c)
 {
     DrawGenericCannon('§', c);
 }