VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
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  const std::string& characterType() const;
43 
44  void setCharacterAppearance(const std::string& s);
45  const std::string& characterAppearance() const;
46 
47  void setCharacterHandItem(const std::string& s);
48  const std::string& characterHandItem() const;
49 
50  void setCharacterHead(const std::string& s);
51  const std::string& characterHead() const;
52 
53  void setCharacterAnimation(const std::string& s);
54  const std::string& characterAnimation() const;
55  void setUseRandomAppearanceUponCreation(bool b);
56  bool useRandomAppearanceUponCreation() const;
57  void setRandomAppearances(const DtRwNLengthStringVector& apps);
58  const DtRwNLengthStringVector& randomAppearances() const;
59 
60  void setUseRandomHandItemUponCreation(bool b);
61  bool useRandomHandItemUponCreation() const;
62  void setRandomHandItems(const DtRwNLengthStringVector& items);
63  const DtRwNLengthStringVector& randomHandItems() const;
64 
65  void setUseRandomHeadUponCreation(bool b);
66  bool useRandomHeadUponCreation() const;
67  void setRandomHeads(const DtRwNLengthStringVector& items);
68  const DtRwNLengthStringVector& randomHeads() const;
69 
70  void setDiGuyEnabled(bool b);
71  bool diGuyEnabled() const;
72 
73 protected:
74  std::string myCharacterType;
75  std::string myCharacterAppearance;
76  std::string myCharacterHandItem;
77  std::string myCharacterHead;
78  std::string myCharacterAnimation;
86 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)