i know in a class u can do this
it will do 2 different things based on what parameters you pass it. how can i do that outside of a class. do i just make both functions? please help Karl Pietri
Code:
class clsAttack
{public:
void attack(clsPlayer* player, clsMonster* monster)
{
}
void attack(clsMonster* monster, clsPlayer* player);
{
}
}