Changeset 8801 in orxonox.OLD for branches/network/src/util/multiplayer_team_deathmatch.cc
- Timestamp:
- Jun 26, 2006, 4:30:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/util/multiplayer_team_deathmatch.cc
r8798 r8801 139 139 140 140 /** 141 * called when the player enters the game142 * @param player the spawned player143 */144 void MultiplayerTeamDeathmatch::onPlayerSpawn()145 {146 this->bLocalPlayerDead = false;147 }148 149 150 /**151 * when the player is killed152 * @param player the killed player153 */154 void MultiplayerTeamDeathmatch::onPlayerDeath()155 {156 this->bLocalPlayerDead = true;157 }158 159 160 /**161 141 * time tick 162 142 * @param dt time … … 786 766 } 787 767 768 /** 769 * this function is called on player respawn 770 * @param we 771 */ 772 void MultiplayerTeamDeathmatch::registerSpawn( WorldEntity * we ) 773 { 774 onRespawn( we->getOwner() ); 775 } 776
Note: See TracChangeset
for help on using the changeset viewer.