Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5862


Ignore:
Timestamp:
Oct 2, 2009, 9:11:35 PM (14 years ago)
Author:
landauf
Message:

removed PawnListener

Location:
code/branches/core5/src/orxonox
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/OrxonoxPrereqs.h

    r5858 r5862  
    116116    class GametypeMessageListener;
    117117    class NotificationListener;
    118     class PawnListener;
    119118    class PlayerTrigger;
    120119    class RadarListener;
  • code/branches/core5/src/orxonox/interfaces/InterfaceCompilation.cc

    r5738 r5862  
    3434
    3535#include "GametypeMessageListener.h"
    36 #include "PawnListener.h"
    3736#include "PlayerTrigger.h"
    3837#include "RadarListener.h"
     
    5150    {
    5251        RegisterRootObject(GametypeMessageListener);
    53     }
    54 
    55     //----------------------------
    56     // PawnListener
    57     //----------------------------
    58     /**
    59         @brief Constructor for the PawnListener.
    60     */
    61     PawnListener::PawnListener()
    62     {
    63         RegisterRootObject(PawnListener);
    6452    }
    6553
  • code/branches/core5/src/orxonox/worldentities/pawns/Pawn.cc

    r5801 r5862  
    3636#include "network/NetworkFunction.h"
    3737
    38 #include "interfaces/PawnListener.h"
    3938#include "PawnManager.h"
    4039#include "infos/PlayerInfo.h"
     
    9392        if (this->isInitialized())
    9493        {
    95             for (ObjectList<PawnListener>::iterator it = ObjectList<PawnListener>::begin(); it != ObjectList<PawnListener>::end(); ++it)
    96                 it->destroyedPawn(this);
    97 
    9894            if (this->weaponSystem_)
    9995                this->weaponSystem_->destroy();
Note: See TracChangeset for help on using the changeset viewer.