TurnShipAboutCondition.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: turnshipaboutcondition.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "turnshipaboutcondition" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _TURN_SHIP_ABOUT_CONDITION_H_
  14. #define _TURN_SHIP_ABOUT_CONDITION_H_
  15. #ifndef _CONDITION_H_
  16. #include "Condition.h"
  17. #endif //_CONDITION_H_
  18. namespace Training
  19. {
  20. //------------------------------------------------------------------------------
  21. // class definitions
  22. //------------------------------------------------------------------------------
  23. class TurnShipAboutCondition : public Condition
  24. {
  25. public:
  26. /* void */ TurnShipAboutCondition (const TRef<ImodelIGC>& ship);
  27. virtual /* void */ ~TurnShipAboutCondition (void);
  28. virtual bool Start (void);
  29. virtual bool Evaluate (void);
  30. protected:
  31. TRef<ImodelIGC> m_ship;
  32. Vector m_startingForward;
  33. };
  34. //------------------------------------------------------------------------------
  35. }
  36. #endif //_TURN_SHIP_ABOUT_CONDITION_H_