Mostly fixed up but I have to figure out why cost on actions isn't changing the priority.

This commit is contained in:
Zed A. Shaw 2025-03-31 13:51:27 -04:00
parent 862d8b4d81
commit 52f45e1d45
5 changed files with 17 additions and 29 deletions

View file

@ -58,6 +58,8 @@ namespace ai {
ActionState(Action action, State state) :
action(action), state(state) {}
ActionState() : action(FINAL_ACTION), state(0) {}
bool operator==(const ActionState& other) const {
return other.action == action && other.state == state;
}