VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/combatRangeCtlDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: combatRangeCtlDesc.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #pragma once
00016 
00017 #include "vrfobjparam/vrfobjparamDefines.h"
00018 #include "vrfobjparam/compDesc.h"
00019 #include "vrfutil/rwReal.h"
00020 #include "vrfutil/rwString.h"
00021 
00027 class DT_DLL_vrfobjparam DtCombatRangeControllerDescriptor : public DtComponentDescriptor
00028 {
00029 public:
00031    DtCombatRangeControllerDescriptor(const DtString& name, 
00032       DtReaderWriterRegistry* parentRegistry = NULL);
00033    
00034    DtCombatRangeControllerDescriptor(const DtSymbolString& name, 
00035       DtReaderWriterRegistry* parentRegistry = NULL);
00036    
00038    DtCombatRangeControllerDescriptor(
00039       const DtCombatRangeControllerDescriptor& orig, 
00040       DtReaderWriterRegistry* parentRegistry = NULL);
00041    
00043    DtCombatRangeControllerDescriptor& operator=(const 
00044       DtCombatRangeControllerDescriptor& orig);
00045    
00047    virtual ~DtCombatRangeControllerDescriptor();
00048 
00051    virtual DtString type() const;
00052 
00053    virtual DtComponentDescriptor* clone(
00054       DtReaderWriterRegistry* parentRegistry = NULL) const;
00055 
00057 
00058    virtual const DtString& rangeName() const;
00059    virtual void setRangeName(const DtString& rangeName);
00061 
00063 
00064    virtual double combatRange() const;
00065    virtual void setCombatRange(double combatRange);
00067 
00069 
00070    virtual bool useSubordinates() const;
00071    virtual void setUseSubordinates(bool);
00073 
00075    static DtComponentDescriptor* creator();
00076 
00077 protected:
00079    DtCombatRangeControllerDescriptor();
00080 
00081 protected:
00085 
00089    DtRwString            myRangeName;
00090 
00095    DtRwReal             myCombatRange;
00096 
00102    DtRwBoolean  myUseSubordinates;
00103 
00105 
00106 };
00107 
00108 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)