1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /*
- ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
- **
- ** File: ShipSeesObjectCondition.h
- **
- ** Author:
- **
- ** Description:
- ** Header file for the training library "ShipSeesObjectCondition" interface.
- **
- ** History:
- */
- #ifndef _SHIP_SEES_OBJECT_CONDITION_H_
- #define _SHIP_SEES_OBJECT_CONDITION_H_
- #ifndef _CONDITION_H_
- #include "Condition.h"
- #endif //_CONDITION_H_
- #ifndef _ABSTRACT_TARGET_H_
- #include "AbstractTarget.h"
- #endif //_ABSTRACT_TARGET_H_
- namespace Training
- {
- //------------------------------------------------------------------------------
- // class definitions
- //------------------------------------------------------------------------------
- class ShipSeesObjectCondition : public Condition
- {
- public:
- /* void */ ShipSeesObjectCondition (IshipIGC* pShip, ImodelIGC* pTarget);
- /* void */ ShipSeesObjectCondition (IshipIGC* pShip, ObjectType targetType, ObjectID targetID);
- /* void */ ShipSeesObjectCondition (ObjectID shipID, ObjectType targetType, ObjectID targetID);
- virtual /* void */ ~ShipSeesObjectCondition (void);
- virtual bool Evaluate (void);
- protected:
- AbstractTarget* m_pShip;
- AbstractTarget* m_pTarget;
- };
- //------------------------------------------------------------------------------
- }
- #endif //_SHIP_SEES_OBJECT_CONDITION_H_
|