Right now the Unit class is a little messy. I want to make a few changes
[x] encapsulate all stats or static unit properties in the unit stats component and add it to unit data csvs so it can be loaded from a file
[x] leverage unit class better so that we can use that to load a unit's stat caps and movement type. Class may make sense as a component
[ ] make use of the direction enum to have properly animated walking sprites
[x] rework the current stat loading process so there are ultimately three stat arrays on each UnitStats component -- stats, growths, and stat caps
[x] rework traversal so units dont need a reference to the Tilemap or to the UnitController.
...sort of. I added a helper Component called TileConverter that every Unit has a reference to. This turns world positions to Tile and vice versa and contains a reference to the tilemap so.. units not entirely decoupled from the tilemap. Sadly.
Right now the Unit class is a little messy. I want to make a few changes