CreateWaypointAction.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: CreateWaypointAction.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "CreateWaypointAction" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _CREATE_WAYPOINT_ACTION_H_
  14. #define _CREATE_WAYPOINT_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 CreateWaypointAction : public CreateObjectAction
  24. {
  25. public:
  26. /* void */ CreateWaypointAction (BuoyID buoyID, const Vector& position, SectorID sectorID);
  27. virtual /* void */ ~CreateWaypointAction (void);
  28. virtual void Execute (void);
  29. protected:
  30. BuoyID m_buoyID;
  31. Vector m_position;
  32. SectorID m_sectorID;
  33. DataBuoyIGC m_buoyData;
  34. };
  35. //------------------------------------------------------------------------------
  36. }
  37. #endif //_CREATE_WAYPOINT_ACTION_H_