I am creating a Hearthstone clone with blueprints, and im currently implementing the card system so it loads the deck.
How its working right now with 1 card, is that a ‘BP_Card’ gets spawned and added to your hand, and a struct with all the values (Health, Mana, Attack, Card Image, isTaunt,…etc) is assigned.
What I was thinking, was making a bunch of different structs for each Card in the game, and having some sort of manager that picks the correct one.
Is this the most optimal way of doing this? It would be so much faster if there was some sort of Struct Array where I can just assign all the values, and I can just call that and load in a card based on the Index.
Thanks for your help!