Beispiel #1
0
        public void UpdateInventoryCategories()
        {
            Injectors.Clear();
            Attachments.Clear();
            Relic.Clear();

            foreach (var gameItem in _inventory)
            {
                if (gameItem is Injector)
                {
                    Injectors.Add(gameItem);
                }
                if (gameItem is Attachment)
                {
                    Attachments.Add(gameItem);
                }
                if (gameItem is Relic)
                {
                    Relic.Add(gameItem);
                }
            }
        }