Is there a way to count the current number of instances of a particular class that is out there? or should I just do something like store my instances in an array and count them that way?
I am writing a multiplayer program, that if I instantiate a generic player class, I want the name to default to a ('Player ' + (numOfInstances+1)) and result to 'Player 7' for example.