Changeset 2815 for code/branches/gui/src/core/GameState.h
- Timestamp:
- Mar 21, 2009, 5:56:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/GameState.h
r2805 r2815 109 109 void tickChild(const Clock& time) { if (this->getActiveChild()) this->getActiveChild()->tick(time); } 110 110 111 virtual GameStateBase* getParent () const = 0;111 virtual GameStateBase* getParentAsBase() const = 0; 112 112 virtual void setParent(GameStateBase* state) = 0; 113 113 … … 146 146 virtual ~GameState() { } 147 147 148 GameStateBase* getParentAsBase() const 149 { return parent_; } 150 148 151 ParentType* getParent() const 149 152 { return parent_; }
Note: See TracChangeset
for help on using the changeset viewer.