Just a quick question: Does the Civilization name (civ_name) uniquely identify a civilization? Or can more than one civilization have the same name?
If every civilization is identify by a name (String), I suggest we change this and create an ID that is unique to every civilization. We should also create a Civilization (or any other class that requires unique IDs) Factory pattern to create unique IDs. I hope I gave the right pattern name
Stay tuned for more questions
Jose
If every civilization is identify by a name (String), I suggest we change this and create an ID that is unique to every civilization. We should also create a Civilization (or any other class that requires unique IDs) Factory pattern to create unique IDs. I hope I gave the right pattern name
Stay tuned for more questions
Jose
Comment