Changeset 9455 in orxonox.OLD for branches/proxy/src/world_entities
- Timestamp:
- Jul 25, 2006, 2:16:40 PM (19 years ago)
- Location:
- branches/proxy/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/spawning_point.cc
r9452 r9455 201 201 * Just override this function with whatever you want to be drawn. 202 202 */ 203 void SpawningPoint::draw() 203 void SpawningPoint::draw() const 204 204 { 205 205 } -
branches/proxy/src/world_entities/spawning_point.h
r9008 r9455 50 50 virtual void loadParams(const TiXmlElement* root); 51 51 52 inline int getTeamId() { return this->teamId; }53 inline void setTeamId( int teamId ) { this->teamId = teamId; }52 inline int getTeamId() const { return this->teamId; } 53 inline void setTeamId( int teamId ) { this->teamId = teamId; } 54 54 55 55 void pushEntity(Playable* entity, float delay = 0); … … 63 63 64 64 virtual void tick(float dt); 65 virtual void draw() ;65 virtual void draw() const; 66 66 67 67 68 68 private: 69 69 void spawn(Playable* entity); 70 70 71 71 void sendRespawnMessage( int uniqueId ); 72 72 static bool respawnMessageHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId );
Note: See TracChangeset
for help on using the changeset viewer.