Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/modules/gametypes/SpaceRaceBot.h @ 11358

Last change on this file since 11358 was 11358, checked in by patricwi, 7 years ago

space race merged

  • Property svn:eol-style set to native
File size: 1.7 KB
RevLine 
[9432]1/*
[9459]2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *                    > www.orxonox.net <
[9432]4 *
[9459]5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *  Created on: Oct 8, 2012
[9432]23 *      Author: purgham
24 */
25
26#ifndef SPACERACEBOT_H_
27#define SPACERACEBOT_H_
28
29#include "infos/Bot.h"
30#include "gametypes/GametypesPrereqs.h"
31#include "gametypes/SpaceRaceController.h"
[11358]32#include <vector>
[9432]33
34
35namespace orxonox
36{
37
38    class _GametypesExport SpaceRaceBot: public Bot
39    {
40        public:
[11358]41                SpaceRaceBot(Context* context);
42            virtual ~SpaceRaceBot();
43   
44            void setConfigValues();
45
46
47
48 virtual inline bool isInitialized() const override
49                { return true; }
50            virtual inline float getPing() const override
51                { return 0; }
52            virtual inline float getPacketLossRatio() const override
53                { return 0; }
54
55
56  private:
57            std::vector<std::string> names_;
58
59
[9432]60    };
61}
62
63
64#endif /* SPACERACEBOT_H_ */
Note: See TracBrowser for help on using the repository browser.