Changeset 1660 for code/branches/gui/src/orxonox
- Timestamp:
- Aug 17, 2008, 7:27:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/Main.cc
r1638 r1660 110 110 } 111 111 112 #include "core/GameState.h" 113 112 114 #ifdef __cplusplus 113 115 extern "C" { … … 125 127 return 0; 126 128 } 129 130 131 /*GameState* state1 = new GameState("state1"); 132 GameState* state2 = new GameState("state2"); 133 GameState* state3 = new GameState("state3"); 134 GameState* state4 = new GameState("state4"); 135 GameState* state5 = new GameState("state5"); 136 GameState* state6 = new GameState("state6"); 137 138 state1->addChild(state4); 139 state1->addChild(state6); 140 state2->addChild(state3); 141 state2->addChild(state5); 142 state3->addChild(state1); 143 state6->addChild(state2); 144 145 state5->requestState("state3"); 146 COUT(2) << std::endl; 147 state2->requestState("state2"); 148 COUT(2) << std::endl; 149 state2->requestState("state1"); 150 COUT(2) << std::endl; 151 state4->requestState("state3"); 152 COUT(2) << std::endl; 153 state1->requestState("state4"); 154 COUT(2) << std::endl; 155 state1->requestState("state2"); 156 COUT(2) << std::endl; 157 state1->requestState("stat"); 158 COUT(2) << std::endl; 159 state1->requestState("state5"); 160 COUT(2) << std::endl;*/ 161 162 127 163 128 164 Orxonox orxonoxInstance;
Note: See TracChangeset
for help on using the changeset viewer.