Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 29, 2018, 3:30:24 PM (7 years ago)
Author:
jacobsr
Message:

changed interal definition to orxyroad namespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadCenterPoint.cc

    r11836 r11838  
    2828
    2929/**
    30     @file DodgeRaceCenterPoint.cc
    31     @brief Implementation of the DodgeRaceCenterPoint class.
     30    @file OrxyRoadCenterPoint.cc
     31    @brief Implementation of the OrxyRoadCenterPoint class.
    3232*/
    3333
    34 #include "DodgeRaceCenterPoint.h"
     34#include "OrxyRoadCenterPoint.h"
    3535
    3636#include "core/CoreIncludes.h"
    3737
    38 #include "DodgeRace.h"
     38#include "OrxyRoad.h"
    3939
    4040namespace orxonox
    4141{
    42     RegisterClass(DodgeRaceCenterPoint);
     42    RegisterClass(OrxyRoadCenterPoint);
    4343
    44     DodgeRaceCenterPoint::DodgeRaceCenterPoint(Context* context) : StaticEntity(context)
     44    OrxyRoadCenterPoint::OrxyRoadCenterPoint(Context* context) : StaticEntity(context)
    4545    {
    46         RegisterObject(DodgeRaceCenterPoint);
     46        RegisterObject(OrxyRoadCenterPoint);
    4747
    4848        this->checkGametype();
    4949    }
    5050
    51     void DodgeRaceCenterPoint::checkGametype()
     51    void OrxyRoadCenterPoint::checkGametype()
    5252    {
    53         if (this->getGametype() != nullptr && this->getGametype()->isA(Class(DodgeRace)))
     53        if (this->getGametype() != nullptr && this->getGametype()->isA(Class(OrxyRoad)))
    5454        {
    55             DodgeRace* DodgeRaceGametype = orxonox_cast<DodgeRace*>(this->getGametype());
    56             DodgeRaceGametype->setCenterpoint(this);
     55            OrxyRoad* OrxyRoadGametype = orxonox_cast<OrxyRoad*>(this->getGametype());
     56            OrxyRoadGametype->setCenterpoint(this);
    5757        }
    5858    }
Note: See TracChangeset for help on using the changeset viewer.