HMI-Studios / CivCloneJS

3 stars 1 forks source link

Move logic out of methods.ts #170

Closed kjniemela closed 8 months ago

kjniemela commented 10 months ago

methods.ts currently has a lot of logic in it (including validating movement, performing attacks, validating end-of-turn, and validating city and improvement creation). We probably want to move as much logic as possible into the Game, World, and Map classes, where appropriate.