Changeset 3178 for code/branches/pch/src/orxonox/objects/infos
- Timestamp:
- Jun 15, 2009, 1:43:16 PM (15 years ago)
- Location:
- code/branches/pch/src/orxonox/objects/infos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/infos/GametypeInfo.cc
r3177 r3178 68 68 } 69 69 70 void GametypeInfo::sendAnnounceMessage(const std::string& message) const70 void GametypeInfo::sendAnnounceMessage(const std::string& message) 71 71 { 72 72 if (GameMode::isMaster()) … … 77 77 } 78 78 79 void GametypeInfo::sendAnnounceMessage(const std::string& message, unsigned int clientID) const79 void GametypeInfo::sendAnnounceMessage(const std::string& message, unsigned int clientID) 80 80 { 81 81 if (GameMode::isMaster()) … … 88 88 } 89 89 90 void GametypeInfo::sendKillMessage(const std::string& message, unsigned int clientID) const90 void GametypeInfo::sendKillMessage(const std::string& message, unsigned int clientID) 91 91 { 92 92 if (GameMode::isMaster()) … … 99 99 } 100 100 101 void GametypeInfo::sendDeathMessage(const std::string& message, unsigned int clientID) const101 void GametypeInfo::sendDeathMessage(const std::string& message, unsigned int clientID) 102 102 { 103 103 if (GameMode::isMaster()) … … 110 110 } 111 111 112 void GametypeInfo::dispatchAnnounceMessage(const std::string& message) const112 void GametypeInfo::dispatchAnnounceMessage(const std::string& message) 113 113 { 114 114 for (ObjectList<GametypeMessageListener>::iterator it = ObjectList<GametypeMessageListener>::begin(); it != ObjectList<GametypeMessageListener>::end(); ++it) … … 116 116 } 117 117 118 void GametypeInfo::dispatchKillMessage(const std::string& message) const118 void GametypeInfo::dispatchKillMessage(const std::string& message) 119 119 { 120 120 for (ObjectList<GametypeMessageListener>::iterator it = ObjectList<GametypeMessageListener>::begin(); it != ObjectList<GametypeMessageListener>::end(); ++it) … … 122 122 } 123 123 124 void GametypeInfo::dispatchDeathMessage(const std::string& message) const124 void GametypeInfo::dispatchDeathMessage(const std::string& message) 125 125 { 126 126 for (ObjectList<GametypeMessageListener>::iterator it = ObjectList<GametypeMessageListener>::begin(); it != ObjectList<GametypeMessageListener>::end(); ++it) -
code/branches/pch/src/orxonox/objects/infos/GametypeInfo.h
r3099 r3178 59 59 { return this->hudtemplate_; } 60 60 61 void sendAnnounceMessage(const std::string& message) const;62 void sendAnnounceMessage(const std::string& message, unsigned int clientID) const;63 void sendKillMessage(const std::string& message, unsigned int clientID) const;64 void sendDeathMessage(const std::string& message, unsigned int clientID) const;61 void sendAnnounceMessage(const std::string& message); 62 void sendAnnounceMessage(const std::string& message, unsigned int clientID); 63 void sendKillMessage(const std::string& message, unsigned int clientID); 64 void sendDeathMessage(const std::string& message, unsigned int clientID); 65 65 66 void dispatchAnnounceMessage(const std::string& message) const;67 void dispatchKillMessage(const std::string& message) const;68 void dispatchDeathMessage(const std::string& message) const;66 void dispatchAnnounceMessage(const std::string& message); 67 void dispatchKillMessage(const std::string& message); 68 void dispatchDeathMessage(const std::string& message); 69 69 70 70 private:
Note: See TracChangeset
for help on using the changeset viewer.