Hey guys, this is my first time posting here...
I would you like some ideas for the following situation. In a card game like pokémon, for example, suppose there is a class called OptionCard derived from another class Card. OptionCard is responsible for adding specific effects to the gaming scene. Instances of OptionCard obviously represent different cards with different effects, ie instructions that specify such an effect. Well, the question is: how can I do to create different instances of OptionCard where each of them have different effects? It's like a single member function of a class execute different effects according to their instances. Any idea?
Card Game Problem
Page 1 of 12 Replies - 742 Views - Last Post: 23 August 2012 - 01:35 PM
Replies To: Card Game Problem
#3
Re: Card Game Problem
Posted 23 August 2012 - 01:35 PM
Please don't post duplicate threads.
This is the duplicate (higher number)
please post responses in the original thread:
http://www.dreaminco...d-game-problem/
This is the duplicate (higher number)
please post responses in the original thread:
http://www.dreaminco...d-game-problem/
Page 1 of 1

New Topic/Question
This topic is locked


MultiQuote






|