![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtRwDIGuyCharactertInfo class is a readable/writable class that can store itself and read itself from a file. More...

Public Member Functions | |
| DtRwDIGuyCharacterInfo () | |
| DtRwDIGuyCharacterInfo (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| DtRwDIGuyCharacterInfo (const DtSymbolString &name, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| DtRwDIGuyCharacterInfo (const DtRwDIGuyCharacterInfo &orig, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| virtual | ~DtRwDIGuyCharacterInfo () |
| DtRwDIGuyCharacterInfo & | operator= (const DtRwDIGuyCharacterInfo &orig) |
| virtual const char * | readerWriterType () const |
| virtual DtString | nextRandomAppearance () |
| Choices a random appearance from the available list. | |
| virtual DtRwDIGuyCharacterInfo * | clone (DtReaderWriterRegistry *const parentRegistry=0) const |
| Returns a newly created clone of this class. | |
| virtual void | setDIGuyCharacter (const DtString &character) |
| The DI-Guy Character string for this entity. | |
| virtual const DtString & | dIGuyCharacter () const |
| The DI-Guy Character string for this entity. | |
| virtual void | setDIGuyAnimation (const DtString &animation) |
| The current DI-Guy animation the entity is displaying. | |
| virtual const DtString & | dIGuyAnimation () const |
| The current DI-Guy animation the entity is displaying. | |
| virtual void | setDIGuyAppearance (const DtString &app) |
| The current Di-Guy character appearance of the entity. | |
| virtual const DtString & | dIGuyAppearance () const |
| The current Di-Guy character appearance of the entity. | |
| virtual DtRwBoolean & | usingRandomAppearances () |
| Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances. | |
| virtual void | setUsingRandomAppearances (bool useRandom) |
| Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances. | |
| virtual void | setRandomAppearancesList (const DtRwNLengthStringVector &list) |
| Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances. | |
| virtual const DtRwNLengthStringVector & | randomAppearancesList () const |
| Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances. | |
| virtual DtRwNLengthStringVector * | randomAppearancesList () |
| Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances. | |
Protected Attributes | |
| DtRwString | myCharacterType |
| DtRwString | myCharacterAppearance |
| DtRwString | myCurrentAnimation |
| DtRwBoolean | myUsingRandomAppearances |
| DtRwNLengthStringVector | myRandomAppearances |
| std::vector< DtString > | myUsedAppearances |
| If using a random appearance upon creation, when an appearance has been used it is removed from the appearances list and added to this one. | |
The DtRwDIGuyCharactertInfo class is a readable/writable class that can store itself and read itself from a file.
This stores the DI-Guy character information that is used to display this entity as a DI-Guy character in any 3-D app that is hooked up to DI-Guy.
| DtRwDIGuyCharacterInfo::DtRwDIGuyCharacterInfo | ( | const DtString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
| DtRwDIGuyCharacterInfo::DtRwDIGuyCharacterInfo | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
| DtRwDIGuyCharacterInfo::DtRwDIGuyCharacterInfo | ( | const DtRwDIGuyCharacterInfo & | orig, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
| virtual DtRwDIGuyCharacterInfo::~DtRwDIGuyCharacterInfo | ( | ) | [virtual] |
| DtRwDIGuyCharacterInfo& DtRwDIGuyCharacterInfo::operator= | ( | const DtRwDIGuyCharacterInfo & | orig | ) |
| virtual const char* DtRwDIGuyCharacterInfo::readerWriterType | ( | ) | const [virtual] |
Reimplemented from DtReaderWriter.
| virtual void DtRwDIGuyCharacterInfo::setDIGuyCharacter | ( | const DtString & | character | ) | [virtual] |
The DI-Guy Character string for this entity.
| virtual const DtString& DtRwDIGuyCharacterInfo::dIGuyCharacter | ( | ) | const [virtual] |
The DI-Guy Character string for this entity.
| virtual void DtRwDIGuyCharacterInfo::setDIGuyAnimation | ( | const DtString & | animation | ) | [virtual] |
The current DI-Guy animation the entity is displaying.
| virtual const DtString& DtRwDIGuyCharacterInfo::dIGuyAnimation | ( | ) | const [virtual] |
The current DI-Guy animation the entity is displaying.
| virtual void DtRwDIGuyCharacterInfo::setDIGuyAppearance | ( | const DtString & | app | ) | [virtual] |
The current Di-Guy character appearance of the entity.
| virtual const DtString& DtRwDIGuyCharacterInfo::dIGuyAppearance | ( | ) | const [virtual] |
The current Di-Guy character appearance of the entity.
| virtual DtRwBoolean& DtRwDIGuyCharacterInfo::usingRandomAppearances | ( | ) | [virtual] |
Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances.
| virtual void DtRwDIGuyCharacterInfo::setUsingRandomAppearances | ( | bool | useRandom | ) | [virtual] |
Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances.
| virtual void DtRwDIGuyCharacterInfo::setRandomAppearancesList | ( | const DtRwNLengthStringVector & | list | ) | [virtual] |
Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances.
| virtual const DtRwNLengthStringVector& DtRwDIGuyCharacterInfo::randomAppearancesList | ( | ) | const [virtual] |
Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances.
| virtual DtRwNLengthStringVector* DtRwDIGuyCharacterInfo::randomAppearancesList | ( | ) | [virtual] |
Sets whether when placin this entity the user wishes it to be created with a random appearnace from the attached list of possible appearances.
| virtual DtString DtRwDIGuyCharacterInfo::nextRandomAppearance | ( | ) | [virtual] |
Choices a random appearance from the available list.
| virtual DtRwDIGuyCharacterInfo* DtRwDIGuyCharacterInfo::clone | ( | DtReaderWriterRegistry *const | parentRegistry = 0 | ) | const [virtual] |
Returns a newly created clone of this class.
DtRwString DtRwDIGuyCharacterInfo::myCharacterType [protected] |
DtRwString DtRwDIGuyCharacterInfo::myCurrentAnimation [protected] |
std::vector<DtString> DtRwDIGuyCharacterInfo::myUsedAppearances [protected] |
If using a random appearance upon creation, when an appearance has been used it is removed from the appearances list and added to this one.
Once the appearances list is empty we reset it.