Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2009, 12:44:10 AM (15 years ago)
Author:
landauf
Message:

Split Gametype into Gametype+Deathmatch. The only difference is output like "player x killed player y" which only appears in Deathmatch now. TeamGametype inherits from Deathmatch (and will shortly be renamed into TeamDeathmatch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/miniprojects/src/orxonox/objects/gametypes/TeamGametype.h

    r2818 r2820  
    3434#include <vector>
    3535
    36 #include "Gametype.h"
     36#include "Deathmatch.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport TeamGametype : public Gametype
     40    class _OrxonoxExport TeamGametype : public Deathmatch
    4141    {
    4242        public:
     
    4747
    4848            virtual void playerEntered(PlayerInfo* player);
    49             virtual void playerLeft(PlayerInfo* player);
     49            virtual bool playerLeft(PlayerInfo* player);
    5050
    5151            virtual bool allowPawnHit(Pawn* victim, Pawn* originator = 0);
Note: See TracChangeset for help on using the changeset viewer.