GetCommandCondition.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: GetCommandCondition.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "GetCommandCondition" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _GET_COMMAND_CONDITION_H_
  14. #define _GET_COMMAND_CONDITION_H_
  15. #ifndef _CONDITION_H_
  16. #include "Condition.h"
  17. #endif //_CONDITION_H_
  18. #ifndef _ABSTRACT_TARGET_H_
  19. #include "AbstractTarget.h"
  20. #endif //_ABSTRACT_TARGET_H_
  21. namespace Training
  22. {
  23. //------------------------------------------------------------------------------
  24. // class definitions
  25. //------------------------------------------------------------------------------
  26. class GetCommandCondition : public Condition
  27. {
  28. public:
  29. /* void */ GetCommandCondition (IshipIGC* pShip, CommandID command);
  30. /* void */ GetCommandCondition (ObjectID shipID, CommandID command);
  31. virtual /* void */ ~GetCommandCondition (void);
  32. virtual bool Evaluate (void);
  33. protected:
  34. AbstractTarget* m_pShip;
  35. CommandID m_command;
  36. };
  37. //------------------------------------------------------------------------------
  38. }
  39. #endif //_GET_COMMAND_CONDITION_H_