-
Notifications
You must be signed in to change notification settings - Fork 0
ResourceSpecification
rjg1 edited this page Sep 12, 2022
·
9 revisions
As resources in the game are procedurally generated, it was important to provide a prospective developer with tools to both add resources or modify the qualities of them. ResourceSpecification is a medium to do so, as it contains all the information required to procedurally generate a resource on the island, as well as all of a Resource's placements (allocated by Resource Generator).
Given the concise nature of the class, it was deemed sufficient to only run unit tests on it, to verify its limited functionality was correct The unit tests verify the following:
- A ResourceSpecification will throw an exception if initialised with bad data (i.e. the size of a resource is provided as negative, or the minAmount to generate is greater than the maxAmount)
- A ResourceSpecification correctly chooses an amount to place between maxAmount and minAmount
- A ResourceSpecification correctly returns all associated variables using getter methods
- A ResourceSpecification's placement data can be set and cleared using the associated functions
Map
City
Buildings
Unit Selections
Game User Testing: Theme of Unit Selection & Spell System
Health Bars
In Game menu
- Feature
- User Testing:In Game Menu
Landscape Tile Design Feedback