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:
parent
a8863cf687
commit
f50e713179
9 changed files with 55 additions and 16 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue