Re: Calling methods from different classes -
12-06-2004
"new Race()" creates a new object.
You have 2 different instances of the same type of class. Each of those 2 instances have their own member variables. Changing a member variable in one class won't change the same member variable in another class.
botman
|