<< |  >>
#5138 Dodano: 18-07-2011 00:34. Głosów: -148
(ze stackoverflow.com)

I have a card game in C++, four players. A player (base class) can either be a computer or a human (derived classes). To store them, I have another class called playerContainer, which has its own functions and uses a private member vector of player pointers.
<< |  >>