VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
rwDIGuyCharacterInfo.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: rwDIGuyCharacterInfo.h,v $ $Revision: 1.4 $ $State: Exp $
7
** Created: 3/31/08 MEM
8
*******************************************************************************/
9
12
13
#ifndef rwDiguyCharacterInfo_H_
14
#define rwDiguyCharacterInfo_H_
15
16
#include "
vrfutil/rdrWritr.h
"
17
#include "
vrfutil/rwString.h
"
18
#include "
vrfutil/rwBoolean.h
"
19
#include "
vrfutil/rwNLengthStringVector.h
"
20
21
class
DtReaderWriterRegistry
;
22
26
27
#include "
vrfutil/vrfutilDefines.h
"
28
class
DT_DLL_vrfutil
DtRwDIGuyCharacterInfo
:
public
DtReaderWriter
29
{
30
public
:
31
32
DtRwDIGuyCharacterInfo
();
33
34
DtRwDIGuyCharacterInfo
(
const
DtString
& name,
35
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
36
DtRwDIGuyCharacterInfo
(
const
DtSymbolString
& name,
37
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
38
39
DtRwDIGuyCharacterInfo
(
const
DtRwDIGuyCharacterInfo
& orig,
40
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
41
42
virtual
~
DtRwDIGuyCharacterInfo
();
43
44
DtRwDIGuyCharacterInfo
&
operator=
(
const
DtRwDIGuyCharacterInfo
& orig);
45
47
virtual
const
char
*
readerWriterType
()
const
;
48
50
51
virtual
void
setDIGuyCharacter(
const
DtString
& character);
52
virtual
const
DtString
& dIGuyCharacter()
const
;
54
56
57
virtual
void
setDIGuyAnimation(
const
DtString
& animation);
58
virtual
const
DtString
& dIGuyAnimation()
const
;
60
62
63
virtual
void
setDIGuyAppearance(
const
DtString
& app);
64
virtual
const
DtString
& dIGuyAppearance()
const
;
66
70
71
virtual
DtRwBoolean
& usingRandomAppearances();
72
virtual
void
setUsingRandomAppearances(
bool
useRandom);
73
74
virtual
void
setRandomAppearancesList(
const
DtRwNLengthStringVector
& list);
75
virtual
const
DtRwNLengthStringVector
& randomAppearancesList()
const
;
76
virtual
DtRwNLengthStringVector
* randomAppearancesList();
78
80
virtual
DtString
nextRandomAppearance();
81
83
virtual
DtRwDIGuyCharacterInfo
* clone(
DtReaderWriterRegistry
*
const
parentRegistry = 0)
const
;
84
85
protected
:
86
87
DtRwString
myCharacterType
;
88
DtRwString
myCharacterAppearance
;
89
DtRwString
myCurrentAnimation
;
90
DtRwBoolean
myUsingRandomAppearances
;
91
DtRwNLengthStringVector
myRandomAppearances
;
92
96
std::vector<DtString>
myUsedAppearances
;
97
};
98
99
100
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)