Changeset 9715 in orxonox.OLD for branches/new_class_id/src/lib/network/player_stats.cc
- Timestamp:
- Sep 1, 2006, 8:06:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/network/player_stats.cc
r9709 r9715 32 32 #include "class_id.h" 33 33 34 NewObjectListDefinitionID(PlayerStats, CL_PLAYER_STATS);34 ObjectListDefinitionID(PlayerStats, CL_PLAYER_STATS); 35 35 CREATE_FACTORY(PlayerStats); 36 36 … … 123 123 PlayerStats * PlayerStats::getStats( int userId ) 124 124 { 125 for ( NewObjectList<PlayerStats>::const_iterator it = PlayerStats::objectList().begin();125 for (ObjectList<PlayerStats>::const_iterator it = PlayerStats::objectList().begin(); 126 126 it != PlayerStats::objectList().end(); 127 127 ++it) … … 142 142 { 143 143 this->playable = NULL; 144 for ( NewObjectList<Playable>::const_iterator it = Playable::objectList().begin();144 for (ObjectList<Playable>::const_iterator it = Playable::objectList().begin(); 145 145 it != Playable::objectList().end(); 146 146 ++it) … … 266 266 ScoreList result; 267 267 268 for ( NewObjectList<PlayerStats>::const_iterator it = PlayerStats::objectList().begin();268 for (ObjectList<PlayerStats>::const_iterator it = PlayerStats::objectList().begin(); 269 269 it != PlayerStats::objectList().end(); 270 270 ++it)
Note: See TracChangeset
for help on using the changeset viewer.