#3755 - jenswa - Fri Mar 07, 2003 8:23 pm
In java, your program is most likely build up from classes.
What is (sort of) the equilevant of those classes in c/c++?
Since they might be handy in a rpg game, where classes
like player and enemy, but also items, etc are very handy,
so i don't need to store the variables 'loose' in the game,
but neat in the player class, if they belong there.
thnx
Jenswa
_________________
It seems this wasn't lost after all.
What is (sort of) the equilevant of those classes in c/c++?
Since they might be handy in a rpg game, where classes
like player and enemy, but also items, etc are very handy,
so i don't need to store the variables 'loose' in the game,
but neat in the player class, if they belong there.
thnx
Jenswa
_________________
It seems this wasn't lost after all.