Originally Posted by
Lightslei
Alright I'll admit I'm still an amateur, however I'm kind of confused at the moment.
Working on a card game. There's 4 types of cards in the deck which is public (shared amongst players), however I haven't figured out a method of having a different function called for each card since each has it's own effect. I'll admit I'm using C++ which is probably the worst idea for this, but I'm not even sure how I would do this since I need to use a stack, and I'm fairly sure I haven't found a method of calling different functions based on a line of text on the card like the name or something x.x. Would that even be possible? If so can someone give me an example.