72 const string&
name() const noexcept {
return name_; }
virtual ~Action()=default
operations preconditions_
virtual bool checkImplDependentCondition() const
bool eligibleFor(const goap::WorldState &ws) const
Action & operator=(const Action &)=default
Action(const Action &)=default
WorldState actOn(const WorldState &ws) const
hashMap< I32, bool > operations
int cost() const noexcept
hashMap< I32, bool >::const_iterator operationsIterator
const operations & effects() const noexcept
void setPrecondition(const I32 key, const bool value)
const string & name() const noexcept
void setEffect(const I32 key, const bool value)
A way of describing the "world" at any point in time.
Handle console commands that start with a forward slash.
hashAlg::unordered_map< K, V, HashFun, Predicate > hashMap