Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: Zap::CTFGameType Class Reference

# Zap::CTFGameType Class Reference

`#include <CTFGame.h>`

Inheritance diagram for Zap::CTFGameType:

## 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

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

## 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]`

Enumerator:

  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]`