News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

Zap::CTFGameType class Reference

Zap::CTFGameType Class Reference

#include <CTFGame.h>

Inheritance diagram for Zap::CTFGameType:

Zap::GameType Zap::GameObject TNL::NetObject TNL::Object

Public Member Functions

void addFlag (FlagItem *theFlag)
void shipTouchFlag (Ship *theShip, FlagItem *theFlag)
void flagDropped (Ship *theShip, FlagItem *theFlag)
void performProxyScopeQuery (GameObject *scopeObject, GameConnection *connection)
void renderInterfaceOverlay (bool scoreboardVisible)
const char * getGameTypeString ()
const char * getInstructionString ()
 TNL_DECLARE_CLASS (CTFGameType)

Private Types

typedef GameType Parent
enum  Scores {
  KillScore = 1,
  ReturnScore = 1,
  CapScore = 5,
  CapTeamScore = 2
}

Private Attributes

Vector< SafePtr< FlagItem > > mFlags

Member Typedef Documentation

typedef GameType Zap::CTFGameType::Parent [private]
 

Reimplemented from Zap::GameObject.


Member Enumeration Documentation

enum Zap::CTFGameType::Scores [private]
 

Enumeration values:
KillScore 
ReturnScore 
CapScore 
CapTeamScore 


Member Function Documentation

void Zap::CTFGameType::addFlag FlagItem theFlag  )  [virtual]
 

Reimplemented from Zap::GameType.

void Zap::CTFGameType::shipTouchFlag Ship theShip,
FlagItem theFlag
[virtual]
 

Reimplemented from Zap::GameType.

void Zap::CTFGameType::flagDropped Ship theShip,
FlagItem theFlag
[virtual]
 

Reimplemented from Zap::GameType.

void Zap::CTFGameType::performProxyScopeQuery GameObject scopeObject,
GameConnection connection
[virtual]
 

Reimplemented from Zap::GameType.

void Zap::CTFGameType::renderInterfaceOverlay bool  scoreboardVisible  )  [virtual]
 

Reimplemented from Zap::GameType.

const char* Zap::CTFGameType::getGameTypeString  )  [inline, virtual]
 

Reimplemented from Zap::GameType.

const char* Zap::CTFGameType::getInstructionString  )  [inline, virtual]
 

Reimplemented from Zap::GameType.

Zap::CTFGameType::TNL_DECLARE_CLASS CTFGameType   ) 
 


Field Documentation

Vector<SafePtr<FlagItem> > Zap::CTFGameType::mFlags [private]