(C++)  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::planning::Action Class Reference

Public Member Functions

 Action (const ActionTemplate &actionTemplate, std::vector< unsigned int > &&argumentIndices)
 
 Action (Action &&other)=default
 
bool IsLegal (const WorldState &worldState) const
 
double GetCost (const WorldState &worldState) const
 
const std::vector< unsigned int > & GetArgumentIndices () const
 
void ApplyToState (WorldState &worldState) const
 
const std::string & GetName () const
 
int GetType () const
 
Actionoperator= (Action &&other)=default
 

The documentation for this class was generated from the following files: