Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 25, 2010, 11:11:04 PM (14 years ago)
Author:
jo
Message:

Changed inheritance. instead of Gametype it's Deathmatch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding/src/orxonox/gametypes/LastManStanding.h

    r7579 r7583  
    3535
    3636#include "OrxonoxPrereqs.h"
    37 #include "Gametype.h"
     37#include "Deathmatch.h"
    3838#include <map>
    3939#include <vector>
     
    4141namespace orxonox
    4242{
    43     class _OrxonoxExport LastManStanding : public Gametype
     43    class _OrxonoxExport LastManStanding : public Deathmatch
    4444    {
    4545    /**
     
    6565            virtual bool allowPawnDeath(Pawn* victim, Pawn* originator = 0); //!< Manages each players lives.
    6666
    67             virtual void start(); //!< Sends a start message.
    6867            virtual void end(); //!< Sends an end message.
    6968            virtual void playerEntered(PlayerInfo* player); //!< Initializes values. Manages the gametype's HUD. #Players alive via StaticMessage.
    7069            virtual bool playerLeft(PlayerInfo* player); //!< Manages the gametype's HUD. #Players alive via StaticMessage.
    71             virtual bool playerChangedName(PlayerInfo* player);
    7270            virtual void playerStartsControllingPawn(PlayerInfo* player, Pawn* pawn); //!< Manages the gametype's HUD. player's lives via FadingMessage.
    7371            virtual void playerStopsControllingPawn(PlayerInfo* player, Pawn* pawn);  //!< Manages the gametype's HUD. #Players alive via StaticMessage.
    74             virtual void pawnKilled(Pawn* victim, Pawn* killer = 0);
    7572
    7673            const int playerGetLives(PlayerInfo* player); //!< getFunction for the map "playerLives_".
Note: See TracChangeset for help on using the changeset viewer.