Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2009, 11:52:13 AM (15 years ago)
Author:
rgrieder
Message:

Moved interface classes to orxonox/interfaces.
This resolves certain identity problems, for instance Tickable technically isn't an object.
Furthermore this saves the compilation of 6 files by using InterfaceCompilation.cc ;)

Location:
code/branches/pch/src/orxonox/interfaces
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/interfaces/InterfaceCompilation.cc

    r3167 r3177  
    2727 */
    2828
     29/**
     30@file
     31@brief
     32    Compiles all the interfaces (except RadarViewable) with mostly just a constructor.
     33*/
     34
     35#include "GametypeMessageListener.h"
     36#include "PawnListener.h"
     37#include "RadarListener.h"
     38#include "Teamcolourable.h"
     39#include "Tickable.h"
     40#include "TimeFactorListener.h"
    2941#include "WindowEventListener.h"
     42
    3043#include "core/CoreIncludes.h"
    3144
    3245namespace orxonox
    3346{
     47    //----------------------------
     48    // GametypeMessageListener
     49    //----------------------------
     50    GametypeMessageListener::GametypeMessageListener()
     51    {
     52        RegisterRootObject(GametypeMessageListener);
     53    }
     54
     55    //----------------------------
     56    // PawnListener
     57    //----------------------------
     58    /**
     59        @brief Constructor for the PawnListener.
     60    */
     61    PawnListener::PawnListener()
     62    {
     63        RegisterRootObject(PawnListener);
     64    }
     65
     66    //----------------------------
     67    // RadarListener
     68    //----------------------------
     69    RadarListener::RadarListener()
     70    {
     71        RegisterRootObject(RadarListener);
     72    }
     73
     74    //----------------------------
     75    // Teamcolourable
     76    //----------------------------
     77    Teamcolourable::Teamcolourable()
     78    {
     79        RegisterRootObject(Teamcolourable);
     80    }
     81
     82    //----------------------------
     83    // TimeFactorListener
     84    //----------------------------
     85    float TimeFactorListener::timefactor_s = 1.0f;
     86
     87    TimeFactorListener::TimeFactorListener()
     88    {
     89        RegisterRootObject(TimeFactorListener);
     90    }
     91
     92    //----------------------------
     93    // Tickable
     94    //----------------------------
     95    /**
     96        @brief Constructor: Registers the object in the Tickable-list
     97    */
     98    Tickable::Tickable()
     99    {
     100        RegisterRootObject(Tickable);
     101    }
     102
     103    //----------------------------
     104    // WindowEventListener
     105    //----------------------------
    34106    /**
    35107        @brief Constructor for the WindowEventListener.
Note: See TracChangeset for help on using the changeset viewer.