This PR adds new fields to the Planet model that contain information about the current liberation progress for each planet. Following fields were added in particular:
liberation: The percentage of the planet currently liberated.
liberationRate: The liberation rate in percent per hour.
liberationState: One of the following: WINNING, DRAW, LOSING, N/A
Type of change
[x] New feature (non-breaking change which adds functionality)
Checklist
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
This PR adds new fields to the
Planet
model that contain information about the current liberation progress for each planet. Following fields were added in particular:liberation
: The percentage of the planet currently liberated.liberationRate
: The liberation rate in percent per hour.liberationState
: One of the following:WINNING
,DRAW
,LOSING
,N/A
Type of change
Checklist