Original Post
Im working on a pokemon game and so far the only thing that has stumped me is storing pokemon and storing attacks.
class pokemon
{
public:
} Bulbasaur;
above is my pokemon template class. i have more done than this but i wont post any more that what i have above for various reasons.
class player
{
public:
int playersparty[6];
};
above is the player class. i can't wrap my mind around how to store objects such as pokemon in an array. the array will represent the players pokemon party through out the game. any help would be appreciated.
class pokemon
{
public:
} Bulbasaur;
above is my pokemon template class. i have more done than this but i wont post any more that what i have above for various reasons.
class player
{
public:
int playersparty[6];
};
above is the player class. i can't wrap my mind around how to store objects such as pokemon in an array. the array will represent the players pokemon party through out the game. any help would be appreciated.