You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
445 B
23 lines
445 B
#pragma once
|
|
#include "ai.hpp"
|
|
|
|
struct RitualAI {
|
|
std::string script;
|
|
ai::State start;
|
|
ai::State original;
|
|
ai::State goal;
|
|
ai::ActionPlan plan;
|
|
|
|
RitualAI(std::string script, ai::State start, ai::State goal) :
|
|
script(script), start(start), original(start), goal(goal)
|
|
{
|
|
}
|
|
|
|
RitualAI() {};
|
|
|
|
void reset();
|
|
bool will_do(std::string name);
|
|
void set_state(std::string name, bool setting);
|
|
void update();
|
|
void dump();
|
|
};
|
|
|