VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diGuyInformation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
12 
14 
16 
18 {
19 
20 public:
23 
25  virtual ~DtDiGuyInformation();
26 
29 
30  DtDiGuyInformation& operator=(const DtDiGuyInformation&);
31 
32  bool operator==(const DtDiGuyInformation&) const;
33  bool operator!=(const DtDiGuyInformation& rhs) { return !(*this == rhs); };
34 
36  virtual void readFromEnvironment(const DtRwVariableBindings*);
37 
39  virtual void writeToEnvironment(DtRwVariableBindings*) const;
40 
41  void setCharacterType(const std::string& s)
42  {
43  myCharacterType = s;
44  }
45 
46  const std::string& characterType() const
47  {
48  return myCharacterType;
49  }
50 
51  void setCharacterAppearance(const std::string& s)
52  {
53  myCharacterAppearance = s;
54  }
55 
56  const std::string& characterAppearance() const
57  {
58  return myCharacterAppearance;
59  }
60 
61  void setCharacterHandItem(const std::string& s)
62  {
63  myCharacterHandItem = s;
64  }
65 
66  const std::string& characterHandItem() const
67  {
68  return myCharacterHandItem;
69  }
70 
71  void setCharacterAnimation(const std::string& s)
72  {
73  myCharacterAnimation = s;
74  }
75 
76  const std::string& characterAnimation() const
77  {
78  return myCharacterAnimation;
79  }
80 
81  void setUseRandomAppearanceUponCreation(bool b)
82  {
83  myUseRandomAppearanceUponCreation = b;
84  }
85 
86  bool useRandomAppearanceUponCreation() const
87  {
88  return myUseRandomAppearanceUponCreation;
89  }
90 
91  void setRandomAppearances(const DtRwNLengthStringVector& apps)
92  {
93  myRandomAppearances = apps;
94  }
95 
96  const DtRwNLengthStringVector& randomAppearances() const
97  {
98  return myRandomAppearances;
99  }
100 
101  void setUseRandomHandItemUponCreation(bool b)
102  {
103  myUseRandomHandItemUponCreation = b;
104  }
105 
106  bool useRandomHandItemUponCreation() const
107  {
108  return myUseRandomHandItemUponCreation;
109  }
110 
111  void setRandomHandItems(const DtRwNLengthStringVector& items)
112  {
113  myRandomHandItems = items;
114  }
115 
116  const DtRwNLengthStringVector& randomHandItems() const
117  {
118  return myRandomHandItems;
119  }
120 
121 protected:
122  std::string myCharacterType;
124  std::string myCharacterHandItem;
125  std::string myCharacterAnimation;
130 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)