Example #1
0
        public InfiltrationVector(string name, double cost    = 1,
                                  InfiltrationType vectorType = InfiltrationType.Malware)
        {
            Name = name;

            Cost = initialCost = cost;

            InfiltrationType = vectorType;
        }
Example #2
0
        public ViralVector(string name, double unlockTime = 30, string icon = null,
                           InfiltrationType vectorType    = InfiltrationType.Malware)
        {
            Unlocking = false;

            Name = name;

            UnlockTime = unlockTime;

            if (unlockTime == 0)
            {
                Unlocked = true;
            }

            Icon = icon;

            InfiltrationType = vectorType;
        }