#ifndef _I_ENGINE_DESCRIPTOR_ #define _I_ENGINE_DESCRIPTOR_ #include #include /** * registerer for actions and conditions * * interface for implementation on side of the engine wrapper */ class IEngineDescriptor { public: /** * Registeres condition with params for receiving and returns its code */ virtual int RegisterCondition(std::string, std::vector< std::string>) = 0; // condition identifier, params /** * Return code of action with params */ virtual int RegisterAction(std::string, std::vector< std::string>) = 0; //action identifier, params /** * Returns code for idle action */ virtual int GetIdleAction() = 0; /** * Get action for gathering item */ virtual int GatherItemAction( std::string ) = 0; /** * Has agent certain item */ virtual bool HasAgentItem( std::string) = 0; }; #endif