VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
engagementZonesManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
11 #include <matrix/vlVector.h>
12 
13 #include <map>
14 
15 class DtVrfObject;
16 class DtSimManager;
18 
23 {
24 public:
27 
29  virtual ~DtEngagementZonesManager();
30 
31  virtual DtSimManager* simManager() const;
32 
34  virtual void init();
35 
37  virtual void tick();
38 
41  virtual bool contactConsideredHostile(DtVrfObject* engagementArea, const DtVector& localLocation, int perceivedForce);
42 
44  virtual bool isInsideEngagementArea(DtVrfObject* engagementArea, const DtVector& localLocation);
45 
46 private:
49 
51  DtEngagementZonesManager & operator=(const DtEngagementZonesManager & orig);
52 
53 protected:
55  typedef std::map<DtString, bool> PerceivedHostile;
56  typedef std::map<DtVrfObject*, PerceivedHostile> Cache;
57 
59 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)