Orxonox: orxonox::TeamSpawnPoint Class Reference

# orxonox::TeamSpawnPoint Class Reference

`#include <src/orxonox/objects/worldentities/TeamSpawnPoint.h>`

Inheritance diagram for orxonox::TeamSpawnPoint:

List of all members.

## Public Member Functions

unsigned int | getTeamNumber () const
void | setTeamNumber (unsigned int team)
| TeamSpawnPoint (BaseObject *creator)
virtual void | XMLPort (Element &xmlelement, XMLPort::Mode mode)
| XML loading and saving.
virtual | ~TeamSpawnPoint ()

## Private Attributes

unsigned int | teamNumber_

## Constructor & Destructor Documentation

orxonox::TeamSpawnPoint::TeamSpawnPoint | ( | BaseObject * | creator | ) |

References RegisterObject, and teamNumber_.

virtual orxonox::TeamSpawnPoint::~TeamSpawnPoint | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

unsigned int orxonox::TeamSpawnPoint::getTeamNumber | ( |  | ) | const`[inline]`

Referenced by orxonox::TeamDeathmatch::getBestSpawnPoint(), and XMLPort().

void orxonox::TeamSpawnPoint::setTeamNumber | ( | unsigned int | team | ) | `[inline]`

Referenced by XMLPort().

void orxonox::TeamSpawnPoint::XMLPort | ( | Element & | xmlelement,
|  | XMLPort::Mode | mode |
| ) |  |  | `[virtual]`

XML loading and saving.

Parameters:

  | xmlelement | The XML-element
  | loading | Loading (true) or saving (false)

Returns:
  The XML-element

Reimplemented from orxonox::SpawnPoint.

References getTeamNumber(), setTeamNumber(), SUPER, and XMLPortParam.

## Member Data Documentation

unsigned int orxonox::TeamSpawnPoint::teamNumber_`[private]`

Referenced by TeamSpawnPoint().

The documentation for this class was generated from the following files:

- src/orxonox/objects/worldentities/TeamSpawnPoint.h
- src/orxonox/objects/worldentities/TeamSpawnPoint.cc