Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2006, 4:30:31 PM (19 years ago)
Author:
rennerc
Message:

finished spawningpoint for spawning playables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/util/multiplayer_team_deathmatch.cc

    r8798 r8801  
    139139
    140140/**
    141  * called when the player enters the game
    142  * @param player the spawned player
    143  */
    144 void MultiplayerTeamDeathmatch::onPlayerSpawn()
    145 {
    146   this->bLocalPlayerDead = false;
    147 }
    148 
    149 
    150 /**
    151  * when the player is killed
    152  * @param player the killed player
    153  */
    154 void MultiplayerTeamDeathmatch::onPlayerDeath()
    155 {
    156   this->bLocalPlayerDead = true;
    157 }
    158 
    159 
    160 /**
    161141 * time tick
    162142 * @param dt time
     
    786766}
    787767
     768/**
     769 * this function is called on player respawn
     770 * @param we
     771 */
     772void MultiplayerTeamDeathmatch::registerSpawn( WorldEntity * we )
     773{
     774  onRespawn( we->getOwner() );
     775}
     776
Note: See TracChangeset for help on using the changeset viewer.