summaryrefslogtreecommitdiff
path: root/sim/src/ai.h
AgeCommit message (Collapse)Author
2024-04-05Refactored Actions to be owned by registryAki
Registry is now also responsible for switching between the actions and each action is expected to have one system. Technically an std::variant could be used here, but let's wait a bit and see how this part evolves.
2024-04-05Extracted KeepAtRange actionAki
It seems an abstraction level is of some kind is needed here. One thing to handle "AI", another to handle primitive commands and their execution.
2024-04-05Separated Turret from AI, shuffled their unitsAki