Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2017, 2:42:31 PM (7 years ago)
Author:
jkindle
Message:

Works whoow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOB.cc

    r11378 r11381  
    4141#include "gamestates/GSLevel.h"
    4242#include "chat/ChatManager.h"
     43#include "infos/PlayerInfo.h"
    4344
    4445#include "SOBCenterpoint.h"
    4546
    46 //#include "PongBat.h"
    47 //#include "PongBot.h"
    48 //#include "PongAI.h"
     47#include "SOBFigure.h"
     48#include "graphics/Camera.h"
    4949
    5050namespace orxonox
     
    6060    {
    6161        RegisterObject(SOB);
     62        camera = nullptr;
    6263
    6364        this->center_ = nullptr;
    64            figure_ = nullptr;
     65        figure_ = nullptr;
    6566
    6667    }
     
    7677    }
    7778
    78 
     79    void SOB::cleanup()
     80    {
     81        camera = nullptr;
     82    }
    7983
    8084        void SOB::start()
     
    8589            {
    8690                figure_ = new SOBFigure(center_->getContext());
    87                 figure_->addTemplate(center_->getFigureTemplate()); /
    88                 figure_->InitializeAnimation(center_->getContext()); //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
     91                figure_->addTemplate(center_->getFigureTemplate());
     92               // figure_->InitializeAnimation(center_->getContext()); //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    8993            }
    9094
     
    107111        }
    108112
    109         totalScreenShift_ = 0.0;
    110         screenShiftSinceLastUpdate_ = 0.0;
    111         sectionNumber_ = 0;
    112         adventureNumber_ = 0;
     113       // totalScreenShift_ = 0.0;
     114       // screenShiftSinceLastUpdate_ = 0.0;
     115        //sectionNumber_ = 0;
     116        //adventureNumber_ = 0;
    113117
    114         addStartSection();
    115         addSection();
    116         addSection();
     118        //addStartSection();
     119       // addSection();
     120       // addSection();
    117121    }
    118122
Note: See TracChangeset for help on using the changeset viewer.