Exemplo n.º 1
0
        public static void GiveKey()
        {
            InventoryManager.AddCurrentMapKey();
            SoundManager.PlaySoundEffect("keyget");
            GlobalState.RefreshKeyCount = true;

            AchievementManager.AchievementsDisabled = true;
        }
Exemplo n.º 2
0
 public override void Collided(Entity other)
 {
     if (visible)
     {
         visible = false;
         InventoryManager.AddCurrentMapKey();
         SoundManager.PlaySoundEffect("keyget");
         _preset.Alive = false;
     }
 }
Exemplo n.º 3
0
        public override void GetTreasure()
        {
            base.GetTreasure();

            InventoryManager.AddCurrentMapKey();
        }