Ok so this Class is about my fable character's hero status. I put Quest, Money, Creature and Expereince in seperate classes as "Has-a".... Dunno What Else To Say Sorry ....Um.. The Questions:
What is an Accessor? ----- Implemented almost always as a function because it returns a value. In a class its is shown as, for example: GetHealth(): Integer. Visibility of Public.
What is an Mutator? ----- Enables a Change of the value of a state. In a class its is show as, for example: SetPassword(NewPassword: String). Visibility of Public.
No comments:
Post a Comment