VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dieWhenHitDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <readerWriter/rwReal.h>
16 
22 {
23 private:
26 
27 public:
29  DtDieWhenHitDescriptor(const DtString& name,
30  DtReaderWriterRegistry * parentRegistry = 0);
31 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
38  DtDieWhenHitDescriptor & orig);
39 
41  virtual ~DtDieWhenHitDescriptor() override;
42 
45  virtual DtString type() const override;
46 
48 
49  virtual double minKillSpeed() const;
50  virtual void setMinKillSpeed(double v);
52 
53  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
54 
56  static DtComponentDescriptor * creator();
57 
58 protected:
61 
62  DtRwReal myMinKillSpeed;
69 };
70 
71 
72 
DtDieWhenHitDescriptor; descriptor for the DtDieWhenHitActuator component.
Definition: dieWhenHitDescriptor.h:21
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)