Now have enough state to show what's going on in the fight, next is to use graphics and stuff to make it better.

This commit is contained in:
Zed A. Shaw 2025-12-23 00:11:31 -05:00
parent a8863cf687
commit f50e713179
9 changed files with 55 additions and 16 deletions

View file

@ -14,11 +14,17 @@
#include "json_mods.hpp"
#include "goap.hpp"
namespace combat {
enum class BattleHostState;
}
namespace components {
using std::string;
using namespace nlohmann;
struct CombatResult {
DinkyECS::Entity attacker;
combat::BattleHostState host_state;
int player_did = 0;
int enemy_did = 0;
};