public override void Cleanup() { ActionItems?.Clear(); CenterActionItems?.Clear(); EndActionItems?.Clear(); StartActionItems?.Clear(); }
public void UpdateInventoryCategories() { Weapons.Clear(); ActionItems.Clear(); foreach (var gameItemQuantity in _Inventory) { if (gameItemQuantity.GameItem is Weapon) { Weapons.Add(gameItemQuantity); } if (gameItemQuantity.GameItem is ActionItem) { ActionItems.Add(gameItemQuantity); } if (gameItemQuantity.GameItem is Currency) { Booty.Add(gameItemQuantity); } } }