Changeset 2996 for code/branches/netp3/src/core/GameState.h
- Timestamp:
- May 20, 2009, 4:13:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp3/src/core/GameState.h
r2896 r2996 78 78 79 79 public: 80 GameState(const std::string& name );80 GameState(const std::string& name, bool countTicktime = true); 81 81 virtual ~GameState(); 82 82 83 83 const std::string& getName() const { return name_; } 84 State getActivity() const { return this->activity_; } 85 GameState* getParent() const { return this->parent_; } 84 State getActivity() const { return this->activity_; } 85 GameState* getParent() const { return this->parent_; } 86 87 bool getCountTickTime() const { return this->bCountTickTime_; } 86 88 87 89 void addChild(GameState* state); … … 102 104 const std::string name_; 103 105 State activity_; 106 const bool bCountTickTime_; 104 107 GameState* parent_; 105 108 std::map<std::string, GameState*> children_;
Note: See TracChangeset
for help on using the changeset viewer.