VR-Forces 4.2 Class Documentation
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 setCharacterAnimation(const std::string& s)
62  {
63  myCharacterAnimation = s;
64  }
65 
66  const std::string& characterAnimation() const
67  {
68  return myCharacterAnimation;
69  }
70 
71  void setUseRandomAppearanceUponCreation(bool b)
72  {
73  myUseRandomAppearanceUponCreation = b;
74  }
75 
76  bool useRandomAppearanceUponCreation() const
77  {
78  return myUseRandomAppearanceUponCreation;
79  }
80 
81  void setRandomAppearances(const DtRwNLengthStringVector& apps)
82  {
83  myRandomAppearances = apps;
84  }
85 
86  const DtRwNLengthStringVector& randomAppearances() const
87  {
88  return myRandomAppearances;
89  }
90 
91 protected:
92  std::string myCharacterType;
93  std::string myCharacterAppearance;
94  std::string myCharacterAnimation;
97 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)