AI engine is working and I have a little BattleEngine going but the AI is working better than it should in systems.cpp. Need to find out why then make the BattleEngine avoid running entities that have END in action lists.
This commit is contained in:
parent
da273cbee6
commit
47c6bfd531
13 changed files with 131 additions and 27 deletions
|
@ -1,10 +1,12 @@
|
|||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <iostream>
|
||||
#include "rituals.hpp"
|
||||
#include "fsm.hpp"
|
||||
#include "dinkyecs.hpp"
|
||||
|
||||
using namespace combat;
|
||||
|
||||
TEST_CASE("prototype combat system ideas", "[combat]") {
|
||||
TEST_CASE("RitualEngine basic tests", "[rituals]") {
|
||||
RitualEngine re("assets/rituals.json");
|
||||
auto ritual = re.start();
|
||||
|
||||
|
@ -47,7 +49,7 @@ TEST_CASE("prototype combat system ideas", "[combat]") {
|
|||
ritual.dump();
|
||||
}
|
||||
|
||||
TEST_CASE("confirm that cycles are avoided/detected", "[combat]") {
|
||||
TEST_CASE("confirm that cycles are avoided/detected", "[rituals]") {
|
||||
RitualEngine re("assets/rituals.json");
|
||||
auto ritual = re.start();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue