GetShipIsDestroyedCondition.h 870 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: getshipisdestroyedcondition.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "getshipisdestroyedcondition" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _GET_SHIP_IS_DESTROYED_CONDITION_H_
  14. #define _GET_SHIP_IS_DESTROYED_CONDITION_H_
  15. #ifndef _GET_SHIP_IS_DAMAGED_CONDITION_H_
  16. #include "GetShipIsDamagedCondition.h"
  17. #endif //_GET_SHIP_IS_DAMAGED_CONDITION_H_
  18. #ifndef _NOT_CONDITION_H_
  19. #include "NotCondition.h"
  20. #endif //_NOT_CONDITION_H_
  21. namespace Training
  22. {
  23. #define GetShipIsDestroyedCondition(ship) NotCondition (new GetShipIsDamagedCondition (ship, 0.0f))
  24. #define GetShipIsDestroyedCondition2(shipType, shipID) NotCondition (new GetShipIsDamagedCondition (shipType, shipID, 0.0f))
  25. }
  26. #endif //_GET_SHIP_IS_DESTROYED_CONDITION_H_