/* * ORXONOX - the hottest 3D action shooter ever to exist * > www.orxonox.net < * * * License notice: * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Author: * Florian Zinggeler * Co-authors: * ... * */ /** @file Asteroids2D.h @brief Gametype. @ingroup Asteroids2D */ #ifndef _Asteroids2D_H__ #define _Asteroids2D_H__ #include "asteroids2D/Asteroids2DPrereqs.h" #include "Asteroids2DCenterPoint.h" // Necessary for WeakPointer?? //#include "Asteroids2DShip.h" DO NOT include in Header. Will cause forward declaration issues //#include "Asteroids2DHUDinfo.h" #include "core/EventIncludes.h" #include "core/command/Executor.h" #include "core/config/ConfigValueIncludes.h" #include "gamestates/GSLevel.h" #include "chat/ChatManager.h" // ! HACK #include "infos/PlayerInfo.h" #include "core/command/ConsoleCommand.h" #include "gametypes/Deathmatch.h" namespace orxonox { class _Asteroids2DExport Asteroids2D : public Deathmatch { public: Asteroids2D(Context* context); virtual void start() override; virtual void end() override; virtual void tick(float dt) override; void setCenterpoint(Asteroids2DCenterPoint* center) { this->center_ = center; } virtual void addBots(unsigned int amount) override{} // player; WeakPtr center_; /* //void spawnEnemy(); private: //Context* context; */ }; } #endif /* _Asteroids2D_H__ */