CreateProbeAction.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: CreateProbeAction.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "CreateProbeAction" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _CREATE_PROBE_ACTION_H_
  14. #define _CREATE_PROBE_ACTION_H_
  15. #ifndef _CREATE_OBJECT_ACTION_H_
  16. #include "CreateObjectAction.h"
  17. #endif// _CREATE_OBJECT_ACTION_H_
  18. namespace Training
  19. {
  20. //------------------------------------------------------------------------------
  21. // class definitions
  22. //------------------------------------------------------------------------------
  23. class CreateProbeAction : public CreateObjectAction
  24. {
  25. public:
  26. /* void */ CreateProbeAction (ProbeID probeID, ExpendableTypeID typeID, const Vector& position, SideID sideID, SectorID sectorID);
  27. virtual /* void */ ~CreateProbeAction (void);
  28. virtual void Execute (void);
  29. protected:
  30. ProbeID m_probeID;
  31. ExpendableTypeID m_typeID;
  32. Vector m_position;
  33. SideID m_sideID;
  34. SectorID m_sectorID;
  35. DataProbeIGC m_probeData;
  36. };
  37. //------------------------------------------------------------------------------
  38. }
  39. #endif //_CREATE_PROBE_ACTION_H_