I'm making a video game and and I would like to know if my OO Inventory System has any flaws or oversightes. Here is the the item system anything that can be stored in an inventory system is an item. The composition of the item class is a shield,a weapon, an engine, and a ship.Item:Ship shipEngine engineWeapon weaponShield shieldThe ships class contains information on its stats(speed,armor,name,description) an is composed of weapons,a shield, an inventory, and one engine.Ship:Engine engineWeapon weaponString namestring shipDescriptionfloat speedfloat armorShield shieldThe Weapons class contains info on stats of the weapon it isWeapon:float rateOfFireint maxAmmoCapacityint currentAmmoAmountint ratingfloat damagestring namestring descriptionThe shield classShield:int ratingint shieldTypefloat damageAbsorpotionRatefloat regenerationRatestring namestring descriptionint ratingThe Inventory class contains an array to limit the amount of Items it can store and two functions for removing and adding items into/out of the inventory list.Inventory:Items[] itemsAddItem(Item item)RemoveItem(Item item
Are there any flaws or oversights in the design of my OO video game inventory system?
object oriented;game development