Beispiel #1
0
 public Armor(int pTier, int pType, string pId, Zanaj pZan, int pArmorType, int pDurability)
     : base(pTier, pType, pId, pZan)
 {
     armorType = pArmorType;
     durability = pDurability;
     equipped = false;
 }
Beispiel #2
0
 public Weapon(int pTier, int pType, string pId, Zanaj pZan, 
     int pWeaponType, int pDamage, int pFireRate, int pSpreadBullets, int pBulletSize, int pBulletSpeed)
     : base(pTier, pType, pId, pZan)
 {
     weaponType = pWeaponType;
     damage = pDamage;
     fireRate = pFireRate;
     spreadBullets = pSpreadBullets;
     bulletSize = pBulletSize;
     bulletSpeed = pBulletSpeed;
     equipped = false;
 }
Beispiel #3
0
 public Boots(int pTier, int pType, string pId, Zanaj pZan, int pArmorType, int pDurability, int pPlusSpeed)
     : base(pTier,pType, pId, pZan, pArmorType,pDurability)
 {
     plusSpeed = pPlusSpeed;
 }
Beispiel #4
0
 public Breastplate(int pTier, int pType, string pId, Zanaj pZan, int pArmorType, int pDurability, int pPlusPoisonResist, int pPlusHealth)
     : base(pTier,pType, pId, pZan, pArmorType,pDurability)
 {
     plusPoisonResist = pPlusPoisonResist;
     plusHealth = pPlusHealth;
 }
Beispiel #5
0
        public Item(int pTier, int pType, string pId, Zanaj pZan)
        {
            tier = pTier;
            type = pType;
            id = pId;
            zan = pZan;

            /*
            //if type is coal
            if (pType == 0)
            {
                //pass in for coal
            }

            //if type is money
            else if (pType == 1)
            {
                //if tier is 1
                if (pTier == 1)
                {
                    //pass in for tier 1 money
                }
                else if (pTier == 2)
                {
                    //pass in for tier 2 money
                }
                else if (pTier == 3)
                {
                    //pass in for tier 3 money
                }
            }

            //if type is armor
            else if (pType == 2)
            {
                //if tier is 1
                if (pTier == 1)
                {
                    //pass in for tier 1 armor
                }
                else if (pTier == 2)
                {
                    //pass in for tier 2 armor
                }
                else if (pTier == 3)
                {
                    //pass in for tier 3 armor
                }
            }

            //if type is weapon
            else if (pType == 3)
            {
                //if tier is 1
                if (pTier == 1)
                {
                    //pass in for tier 1 weapon
                }
                else if (pTier == 2)
                {
                    //pass in for tier 2 weapon
                }
                else if (pTier == 3)
                {
                    //pass in for tier 3 weapon
                }
            }
            */
        }
Beispiel #6
0
 public Gloves(int pTier, int pType, string pId, Zanaj pZan, int pArmorType, int pDurability, int pPlusLuck)
     : base(pTier,pType, pId, pZan, pArmorType,pDurability)
 {
     plusLuck = pPlusLuck;
 }
Beispiel #7
0
 public RocketLauncher(int pTier, int pType, string pId, Zanaj pZan, 
     int pWeaponType, int pDamage, int pFireRate, int pSpreadBullets, int pBulletSize, int pBulletSpeed)
     : base(pTier, pType, pId, pZan,pWeaponType,pDamage,pFireRate,pSpreadBullets,pBulletSize,pBulletSpeed)
 {
 }
Beispiel #8
0
 public SniperRifle(int pTier, int pType, string pId, Zanaj pZan, 
     int pWeaponType, int pDamage, int pFireRate, int pSpreadBullets, int pBulletSize, int pBulletSpeed)
     : base(pTier, pType, pId, pZan,pWeaponType,pDamage,pFireRate,pSpreadBullets,pBulletSize,pBulletSpeed)
 {
 }