/* ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved. ** ** File: objectmovingtowardscondition.h ** ** Author: ** ** Description: ** Header file for the training library "objectmovingtowardscondition" interface. ** ** History: */ #ifndef _OBJECT_MOVING_TOWARDS_CONDITION_H_ #define _OBJECT_MOVING_TOWARDS_CONDITION_H_ #ifndef _CONDITION_H_ #include "Condition.h" #endif //_CONDITION_H_ namespace Training { //------------------------------------------------------------------------------ // class definitions //------------------------------------------------------------------------------ class ObjectMovingTowardsCondition : public Condition { public: /* void */ ObjectMovingTowardsCondition (const TRef& object, const TRef& target); virtual /* void */ ~ObjectMovingTowardsCondition (void); virtual bool Evaluate (void); protected: TRef m_object; TRef m_target; }; //------------------------------------------------------------------------------ } #endif //_OBJECT_MOVING_TOWARDS_CONDITION_H_