VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
spawnObjectWarheadActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vrfutil/rwEntityType.h>
14 
18 {
19 public:
22  DtReaderWriterRegistry * parentRegistry = 0);
23 
27  orig, DtReaderWriterRegistry * parentRegistry = 0);
28 
32 
34  virtual ~DtSpawnObjectWarheadActuatorDescriptor() override;
35 
38  virtual DtString type() const override;
39 
40  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
41 
42 
43  virtual DtEntityType objectTypeToSpawn() const;
44  virtual void setObjectTypeToSpawn(const DtEntityType& objectType);
45 
46  virtual bool detonateWhenSpawning() const;
47  virtual void setDetonateWhenSpawning(bool v);
48 
50  static DtComponentDescriptor * creator();
51 
52 private:
55 
56 protected:
57 
61 
66 
73 };
DtRwEntityType myObjectTypeToSpawn
Parameter Name: object-type-to-spawn Parameter Description: Type of object to spawn in place of deton...
Definition: spawnObjectWarheadActuatorDescriptor.h:65
Parameters for the DtWarheadDetonationActuator. Determines under what circumstances the warhead will ...
Definition: spawnObjectWarheadActuatorDescriptor.h:17
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
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
static DtComponentDescriptor * creator()
DtRwBoolean myDetonateWhenSpawning
Parameter Name: detonate-when-spawning Parameter Description: Indicates whether or not a detonation s...
Definition: spawnObjectWarheadActuatorDescriptor.h:71
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
File: rwEntType.h.
Definition: rwEntityType.h:26
DtWarheadDetonationActuatorDescriptor; descriptor for the DtWarheadDetonationActuator component...
Definition: warheadDetonationActuatorDescriptor.h:26
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtWarheadDetonationActuatorDescriptor & operator=(const DtWarheadDetonationActuatorDescriptor &orig)
assignment

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)