PaintedCreature is badly encapsulated #8

Open
opened 2016-03-21 08:50:43 +00:00 by btrzcinski · 0 comments
btrzcinski commented 2016-03-21 08:50:43 +00:00 (Migrated from github.com)

It uses protected members, like width/height, which are final for no real reason. It doesn't serve as a good academic example of class design.

  • width/height should be encapsulated and modifiable
  • paint should be public, most likely
It uses protected members, like width/height, which are final for no real reason. It doesn't serve as a good academic example of class design. - width/height should be encapsulated and modifiable - paint should be public, most likely
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barnett/apaquarium#8
No description provided.