Okay ive started doing my UML but i was just wondering with regards to instance variables. i will try and explain it as best as i can but im a complete noobie to be honest.
with regards to my last post as i am implementing a program in java of a battle war game. As all of my subclasses from the "army" class are going to have Hit points, movement points and attack points do i put those instances in there respective classes or do i put them into the army class to be held and then called from the sub classes? each subclass will have a different variable of hit point, movement point and attack points. and will this be a case od incapulation or something els? thanks
sorry for the total lack of knowledge on this.