Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: a3dbf5c401
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (42 sloc) 1.66 KB
* server/ZombieMode.hpp
* This file is part of Leges Motus, a networked, 2D shooter set in zero gravity.
* Copyright 2009-2011 Andrew Ayer, Nathan Partlan, Jeffrey Pfau
* Leges Motus is free and open source software. You may redistribute it and/or
* modify it under the terms of version 2, or (at your option) version 3, of the
* GNU General Public License (GPL), as published by the Free Software Foundation.
* Leges Motus 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 full text of the GNU General Public License for
* further detail.
* For a full copy of the GNU General Public License, please see the COPYING file
* in the root of the source code tree. You may also retrieve a copy from
* <>, or request a copy by writing to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA
#include "GameModeHelper.hpp"
namespace LM {
class ZombieMode : public GameModeHelper {
virtual void check_state();
virtual void gate_open(char team);
virtual bool player_shot(ServerPlayer& shooter, ServerPlayer& shot_player);
virtual uint64_t player_died(ServerPlayer* killer, ServerPlayer& killed);
virtual void game_timeout();
virtual void new_game();
virtual bool is_team_play() const { return false; }
virtual GameMode get_type() const { return ZOMBIE; }
explicit ZombieMode (Server& server) : GameModeHelper(server) { }
Jump to Line
Something went wrong with that request. Please try again.