VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtRwDIGuyAnimationEntry Class Reference

The DtRwDIGuyIntrinsicAnimation a helper class that is a readable/writable class that can store itself and read itself from a file. More...

Inheritance diagram for DtRwDIGuyAnimationEntry:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRwDIGuyAnimationEntry ()
 DtRwDIGuyAnimationEntry (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 DtRwDIGuyAnimationEntry (const DtSymbolString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 DtRwDIGuyAnimationEntry (const DtRwDIGuyAnimationEntry &orig, DtReaderWriterRegistry *const parentRegistry=NULL)
virtual ~DtRwDIGuyAnimationEntry ()
DtRwDIGuyAnimationEntryoperator= (const DtRwDIGuyAnimationEntry &orig)
virtual DtRwDIGuyAnimationEntryclone () const
 Returns a newly created clone of this class.
virtual void setDIGuyName (const DtString &animation)
 animation name- The string name DI-Guy ques off of
virtual const DtStringdiGuyName () const
 animation name- The string name DI-Guy ques off of
virtual void setDisplayName (const DtString &animation)
 User friendly version of the animation name- for example the DI-Guy animation name might be walk_inj_head and the display name might be walk_with_head_injury or what ever the user configures it to be.
virtual const DtStringdisplayName () const
 User friendly version of the animation name- for example the DI-Guy animation name might be walk_inj_head and the display name might be walk_with_head_injury or what ever the user configures it to be.
virtual void setVariant (const DtString &var)
 The variant of this intrinsic animation--injured, sick, angy...
virtual const DtStringvariant () const
 The variant of this intrinsic animation--injured, sick, angy...
virtual void setTaskable (bool canTask)
 Is this a taskable animation or one that should be handled intrinsically.
virtual bool taskable () const
 Is this a taskable animation or one that should be handled intrinsically.

Protected Attributes

DtRwString myDIGuyName
DtRwString myDisplayName
DtRwBoolean myTaskable
DtRwString myAnimationVariant
 Default is false.

Detailed Description

The DtRwDIGuyIntrinsicAnimation a helper class that is a readable/writable class that can store itself and read itself from a file.

This allows us to augment the animations of DI-guy and control which animations should be automatically handled like say walking and which should be tasked by the user--Begin fueling animation is a good example!


Constructor & Destructor Documentation

DtRwDIGuyAnimationEntry::DtRwDIGuyAnimationEntry ( const DtString name,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)
DtRwDIGuyAnimationEntry::DtRwDIGuyAnimationEntry ( const DtSymbolString name,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

Member Function Documentation

DtRwDIGuyAnimationEntry& DtRwDIGuyAnimationEntry::operator= ( const DtRwDIGuyAnimationEntry orig)
virtual void DtRwDIGuyAnimationEntry::setDIGuyName ( const DtString animation) [virtual]

animation name- The string name DI-Guy ques off of

virtual const DtString& DtRwDIGuyAnimationEntry::diGuyName ( ) const [virtual]

animation name- The string name DI-Guy ques off of

virtual void DtRwDIGuyAnimationEntry::setDisplayName ( const DtString animation) [virtual]

User friendly version of the animation name- for example the DI-Guy animation name might be walk_inj_head and the display name might be walk_with_head_injury or what ever the user configures it to be.

virtual const DtString& DtRwDIGuyAnimationEntry::displayName ( ) const [virtual]

User friendly version of the animation name- for example the DI-Guy animation name might be walk_inj_head and the display name might be walk_with_head_injury or what ever the user configures it to be.

virtual void DtRwDIGuyAnimationEntry::setVariant ( const DtString var) [virtual]

The variant of this intrinsic animation--injured, sick, angy...

virtual const DtString& DtRwDIGuyAnimationEntry::variant ( ) const [virtual]

The variant of this intrinsic animation--injured, sick, angy...

virtual void DtRwDIGuyAnimationEntry::setTaskable ( bool  canTask) [virtual]

Is this a taskable animation or one that should be handled intrinsically.

virtual bool DtRwDIGuyAnimationEntry::taskable ( ) const [virtual]

Is this a taskable animation or one that should be handled intrinsically.

Returns a newly created clone of this class.


Member Data Documentation

Default is false.


The documentation for this class was generated from the following file:

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)