示例#1
0
        public GenericArc(GenericShip host)
        {
            Host = host;

            primaryArc = new ArcInfo()
            {
                ShipBase        = Host.ShipBase,
                MinAngle        = -40f,
                MaxAngle        = 40f,
                Facing          = ArcFacing.Front,
                ShotPermissions = new ArcShotPermissions()
                {
                    CanShootPrimaryWeapon = true,
                    CanShootTorpedoes     = true,
                    CanShootMissiles      = true,
                    CanShootCannon        = true,
                    CanShootTurret        = true
                }
            };

            ArcsList = new List <ArcInfo>
            {
                primaryArc
            };
        }
示例#2
0
        public GenericArc(GenericShip host)
        {
            Host = host;

            primaryArc = new ArcInfo()
            {
                ShipBase = Host.ShipBase,
                MinAngle = -40f,
                MaxAngle = 40f,
                Facing   = ArcFacing.Front,
                CanShootSecondaryWeapon = true
            };

            ArcsList = new List <ArcInfo>
            {
                primaryArc
            };
        }