HMI-Studios / CivCloneJS

3 stars 1 forks source link

Refactor Auto-Movement #167

Open kjniemela opened 10 months ago

kjniemela commented 10 months ago

There are potentially several planned units that could move without user input (barbarians, city-states, militias, free cities, etc.). The code for this should be neatly organized in a single class that can then be inherited from. For the implementation of #163 this has been done at the city level, but it definitely needs to be cleaned up.