N
Narf the Mouse
I'm currently working on a roguelike. I've got a global std::vector
list of characters (Yes, I know globals are bad. I'm still learning
Object Oriented programming.) I've also got a handler class to add
characters to that list.
Could exiting the functions of the handler object cause a destructor to
be called for the character list?
list of characters (Yes, I know globals are bad. I'm still learning
Object Oriented programming.) I've also got a handler class to add
characters to that list.
Could exiting the functions of the handler object cause a destructor to
be called for the character list?