VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
munitionDispersalDeterminant.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
14 #include <vrfobjcore/simObject.h>
15 
16 class DtPhysicalWorld;
17 
21 {
22 public:
25 
27 
28  virtual DtMunitionDispersalDeterminant* clone() const = 0;
29 
32  virtual void initializeDispersal(const DtPhysicalWorld* physicalWorld,
33  const DtVector& detonationLocation, DtSimObjectReference shooter);
34 
38  virtual void nextDetonationResult(DtVector& hitLocation,
39  DtSimObjectReference& hitEntity) const = 0;
40 
41 protected:
42 
46 
47 };
48 
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
DtMunitionDispersalDeterminant calculates where individual detonations in a burst of fire or cluster ...
Definition: munitionDispersalDeterminant.h:20
DtVector myDetonationLocation
Definition: munitionDispersalDeterminant.h:44
The DtPhysicalWorld is the primary interface to and manager of all of the &quot;physical&quot; aspects of the s...
Definition: physicalWorld.h:102
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtBaseMunitionDispersalDeterminant * clone() const =0
DtBaseMunitionDispersalDeterminant is a base class for classes that calculate where individual detona...
Definition: baseMunitionDispersalDeterminant.h:21
DtSimObjectReference myShooter
Definition: munitionDispersalDeterminant.h:45
const DtPhysicalWorld * myPhysicalWorld
Definition: munitionDispersalDeterminant.h:43

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)