So, it’s turn based. The enemy will slide to the player, attack, and he will be knocked back and health will be shaved. Problem is, I don’t know how to go about it. The engine has a stats class, a player class, and the enemy classes. Right now, they will slide to the player when it’s their turn, but I don’t know if I should make an object that collides with the player and triggers the knock back and stat editing, or what. I also considered editing his stats directly from the enemy, and turning a boolean on in the player object to knock back, but then again, that’s sketchy too.
All entities are managed by a list in another class called EntityManager.
Any advice would be fantastic.