VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rwExplosionEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrfutil/rwEntityType.h>
12 #include <vrfutil/rwReal.h>
14 #include <vrfutil/rwVector.h>
16 
18 {
19 public:
22 
25  parentRegistry = NULL);
26 
28  parentRegistry = NULL);
29 
31  DtRwExplosionEntry(const DtString& name, const DtRwExplosionEntry& orig,
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
34  DtRwExplosionEntry(const DtSymbolString& name, const DtRwExplosionEntry& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  const DtRwExplosionEntry& operator=(const DtRwExplosionEntry & orig);
39 
40  virtual ~DtRwExplosionEntry();
41 
42  virtual DtRwExplosionEntry* clone(const DtString& name,
43  DtReaderWriterRegistry* parentRegistry = NULL) const;
44 
45  virtual DtRwExplosionEntry* clone(const DtSymbolString& name,
46  DtReaderWriterRegistry* parentRegistry = NULL) const;
47 
50  virtual const DtRwEntityType& munition() const;
51  virtual void setMunition(const DtRwEntityType& m);
53 
56  virtual DtDetonationResult detonationResult() const;
57  virtual void setDetonationResult(DtDetonationResult i);
59 
62  virtual double delay() const;
63  virtual void setDelay(double s);
65 
68  virtual DtVector position() const;
69  virtual void setPosition(const DtVector& pos);
71 
73  bool operator==(const DtRwExplosionEntry& rhs) const;
74  bool operator!=(const DtRwExplosionEntry& rhs) const
75  {
76  return !(*this == rhs);
77  }
78 
79 protected:
83 
88 
93 
99 
105 
106 
108 };
109 
111 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)