Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2016, 4:36:54 PM (7 years ago)
Author:
meilel
Message:

boards added and other stuff done

Location:
code/branches/SpaceRace_HS16/src/modules/gametypes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRace.cc

    r11303 r11312  
    218218 void SpaceRace::addBots(unsigned int amount)
    219219    {
    220         for (unsigned int i = 0; i < amount; ++i)
     220        for (unsigned int i = 1; i <= amount/2; ++i){
    221221            this->botclass_.fabricate(this->getContext());
    222    
     222            //SpaceRaceBot* bot = new SpaceRaceBot(this->getContext());
     223            //bot->setPosition(-i*150,0,-i*100);
     224        }
     225        for (unsigned int i = 1; i <= amount/2; ++i){
     226            this->botclass_.fabricate(this->getContext());
     227            //SpaceRaceBot* bot = new SpaceRaceBot(this->getContext());
     228            //bot->setPosition(-i*150,0,i*100);
     229        }
    223230
    224231
  • code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRaceBot.cc

    r11281 r11312  
    3535
    3636
     37
    3738namespace orxonox
    3839{
     
    5859            "Louis Meile"
    5960           
    60             "Dominic Greene"
     61            "Abradolf Lincler"
    6162        };
    6263        static std::vector<std::string> defaultnames(names, names + sizeof(names) / sizeof(std::string));
     
    6465        SetConfigValue(names_, defaultnames);
    6566    }
    66 
    67 
    68 
    69    
    7067}
  • code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRaceController.cc

    r11306 r11312  
    371371
    372372    }
    373 /*
    374     void SpaceRaceController::useBoost()
    375     {
    376 
    377     }
    378 */
    379373
    380374    /*void SpaceRaceController::computeVirtualCheckpoint(RaceCheckPoint* racepoint1, RaceCheckPoint* racepoint2, const std::vector<StaticEntity*>& allObjects)
Note: See TracChangeset for help on using the changeset viewer.