Implement roads and settlements #27
Labels
No labels
bug
ci
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SlothBusters/gruppe02-slothbusters-projekt3-catan#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "implement-roads-and-settlements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes made in this pull request will add methods for building structures. Furthermore resource holders can now handle resource maps and structure classes now contain their enum types. Also the SiedlerStreet class was changed to extend SiedlerStructure class instead of SiedlerSettlement.
Well done. Looks good.
There are a few places where the javadoc is missing.
@ -20,0 +32,4 @@
/**
* Verifies if the selected location is a valid location for a settlement.
*
* @return true, if the location of the settlement is valid.
JavaDoc is missing
@ -20,0 +116,4 @@
* Verifies if the settlement has an adjacent field.
*
* @return true, if there is an adjacent field.
*/
javadoc
Consider changing the name to
incrementResources()
for consistency (or changingincrementResource(resource, by)
above toaddResource(resourceMap)
). The same goes forremoveResources(resourceMap)
andremoveResource(resource, by)
Looks good to me. Nicely done