C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
33 stars 9 forks source link

use MovementPoints with float value instead of plain int #340

Closed Kright closed 2 years ago

Kright commented 2 years ago

Closes #191

Roads allow values like 1/3. I replaced int values with MovementPoints struct. It uses float and has helper methods for avoiding rounding errors.