Beispiel #1
0
 override public void unlock(ref Podatki p)
 {
     p.armors.goblinA.isUnlocked = true;
 }
Beispiel #2
0
 public Start(ref Podatki p)
 {
     InitializeComponent();
     this.p = p;
 }
Beispiel #3
0
 override public void unlock(ref Podatki p)
 {
     p.weapons.goblinS.isUnlocked = true;
 }
Beispiel #4
0
 override public void unlock(ref Podatki p)
 {
     p.armors.pickleA.isUnlocked = true;
 }
Beispiel #5
0
 abstract public void unlock(ref Podatki p);
Beispiel #6
0
 override public void unlock(ref Podatki p)
 {
     p.weapons.monkeM.isUnlocked = true;
 }
Beispiel #7
0
        public STS(Weapons sword, Armor armor, Boss boss, Mob mob1, Mob mob2, Mob mob3, Mob special, ref Podatki p)
        {
            InitializeComponent();

            p.bossStage              = false;
            p.playerHP               = p.playerMaxHP;
            this.p                   = p;
            selectedWeapon           = sword;
            selectedArmor            = armor;
            selectedBoss             = boss;
            availableMob1            = mob1;
            availableMob2            = mob2;
            availableMob3            = mob3;
            specialMob               = special;
            pbPlayer.BackgroundImage = selectedArmor.armorImage;
            pbSword.BackgroundImage  = selectedWeapon.weaponImage;

            lblYY.Text         = "";
            btnLevelUp.Enabled = true;
            p.n = 1;

            if (p.didPlayerEat == true)
            {
                foodDmg = p.stageRank;
            }
            else
            {
                foodDmg = 0;
            }
        }