Exemple #1
0
    public void AddBomb(Bomb bomb)
    {
        for (int i = 0; i < 20; i++)
        {
            bombs.AddItem(bomb);
        }

        bombCountText.text = "X" + bombs.GetItems().Count();
        bombQty            = bombs.GetItems().Count();
    }
Exemple #2
0
 public void AddRupee(Rupee rupee)
 {
     rupees.AddItem(rupee);
     rupeeCountText.text = "X" + rupees.GetItems().Count();
 }
Exemple #3
0
 public void AddKey(Key key)
 {
     keys.AddItem(key);
     keyCountText.text = "X" + keys.GetItems().Count();
 }