DropZoneBrush.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef DROPZONEBRUSH_H
  2. #define DROPZONEBRUSH_H
  3. /*************************************************************************************************\
  4. DropZoneBrush.h : Interface for the DropZoneBrush component.
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. \*************************************************************************************************/
  9. #ifndef BUILDINGBRUSH_H
  10. #include "BuildingBrush.h"
  11. #endif
  12. //*************************************************************************************************
  13. /**************************************************************************************************
  14. CLASS DESCRIPTION
  15. DropZoneBrush:
  16. **************************************************************************************************/
  17. class DropZoneBrush: public BuildingBrush
  18. {
  19. public:
  20. DropZoneBrush( int alignment = 0, bool bVTol = 0 );
  21. virtual bool paint( Stuff::Vector3D& worldPos, int screenX, int screenY );
  22. virtual bool canPaint( Stuff::Vector3D& worldPos, int screenX, int screenY, int flags );
  23. private:
  24. bool bVTol;
  25. };
  26. //*************************************************************************************************
  27. #endif // end of file ( DropZoneBrush.h )