Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7486 in orxonox.OLD for trunk/src/util/kill.cc


Ignore:
Timestamp:
May 2, 2006, 11:44:10 PM (19 years ago)
Author:
patrick
Message:

orxonox: kill event redesigned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/kill.cc

    r7482 r7486  
    2222
    2323
    24 /**
    25  * standard constructor
    26  */
    27 Kill::Kill (WorldEntity* killer, WorldEntity* victim)
    28 {
    29   this->setClassID(CL_KILL, "Kill");
    30 
    31   this->killer = killer;
    32   this->victim = victim;
    33 }
    34 
    35 
    36 /**
    37  * standard constructor
    38  */
    39 Kill::Kill (WorldEntity* killer, Playable* victim)
    40 {
    41   this->setClassID(CL_KILL, "Kill");
    42 
    43   this->killer = killer;
    44   this->victim = (WorldEntity*)victim;
    45 }
    46 
    47 
    48 /**
    49  * standard deconstructor
    50 */
    51 Kill::~Kill ()
    52 {
    53   // delete what has to be deleted here
    54 }
Note: See TracChangeset for help on using the changeset viewer.