VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
minefieldControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
12 
14 #include <readerWriter/rwReal.h>
15 #include <readerWriter/rwBoolean.h>
16 
18 
25 {
26 public:
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37  const DtMinefieldControllerDescriptor & orig);
38 
41 
44  virtual DtString type() const;
45 
48  virtual bool detonateOnCommand() const;
49  virtual void setDetonateOnCommand(bool det);
51 
54  virtual double malfunctionPercentage() const;
55  virtual void setMalfunctionPercentage(double percent);
57 
60  DtReaderWriterRegistry* parentRegistry = 0) const;
61 
64 
65 protected:
68 
69 protected:
71 
75 
80 
86 
88 };
89 
90 
91 
92 
93 
DtMinefieldControllerDescriptor is a DtComponentDescriptor that has the name of the DtMinefieldContro...
Definition: minefieldControllerDescriptor.h:24
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
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
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwBoolean myDetonateOnCommand
Parameter Name: detonate-on-command Parameter Description: If true, can recieve a remote detonate com...
Definition: minefieldControllerDescriptor.h:85
DtRwReal myMalfunctionPercentage
Parameter Name: malfunction-percentage Parameter Description: This is the percent chance this detonat...
Definition: minefieldControllerDescriptor.h:79
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)