Пример #1
0
        public bool CanDoorBeOpenedWithClues(Player player)
        {
            var allPlayerClueItems = player.Inventory.GetItemsOfType <Items.Clue>();
            var allPlayerClues     = allPlayerClueItems.Select(i => i.MapClue);

            bool canDoorBeOpened = mapDoor.CanDoorBeUnlockedWithClues(allPlayerClues);

            return(canDoorBeOpened);
        }