Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 24, 2016, 4:06:00 PM (8 years ago)
Author:
bberabi
Message:

sound and countdown erledigt, flugzeuge konnen nicht mehr sich bewegen bevor countdown ends

File:
1 edited

Legend:

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

    r11232 r11246  
    4949        this->cantMove_ = false;
    5050        this->bTimeIsUp_ = false;
    51         this->numberOfBots_ = 0; // quick fix: don't allow default-bots to enter the race
     51        this->numberOfBots_ = 1; // quick fix: don't allow default-bots to enter the race
    5252                                 // remove this line, if a raceBot has been created.
    5353    }
     54
     55
     56
     57
     58
     59
    5460
    5561    void SpaceRace::end()
     
    7884    }
    7985
     86   
     87
     88
     89
     90
    8091    void SpaceRace::tick(float dt)
    8192    {
     
    100111            this->cantMove_= false;
    101112
    102             std::string message = "The race begins! Reach the check points as quickly as possible!";
     113
     114
     115            std::string message = "Hello!";
    103116            this->getGametypeInfo()->sendAnnounceMessage(message);
    104117            ChatManager::message(message);
    105118        }
    106119    }
     120
     121
     122
     123
     124
    107125
    108126    void SpaceRace::newCheckpointReached(RaceCheckPoint* checkpoint, PlayerInfo* player)
Note: See TracChangeset for help on using the changeset viewer.