Move the ritual stuff to the combat namespace.
This commit is contained in:
parent
49531ba148
commit
1d2968f826
4 changed files with 38 additions and 33 deletions
|
@ -217,7 +217,7 @@ TEST_CASE("confirm that cycles are avoided/detected", "[ai]") {
|
|||
auto start = ai::load_state("initial");
|
||||
auto goal = ai::load_state("final");
|
||||
|
||||
RitualAI ritual("actions", start, goal);
|
||||
combat::RitualAI ritual("actions", start, goal);
|
||||
ritual.reset();
|
||||
ritual.set_state("has_magick", true);
|
||||
ritual.set_state("cursed_item", true);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <iostream>
|
||||
#include "rituals.hpp"
|
||||
|
||||
using namespace combat;
|
||||
|
||||
TEST_CASE("prototype combat system ideas", "[combat]") {
|
||||
ai::reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue