#include <Player.h>
Inheritance diagram for Atlas::Objects::Entity::Player:
Public Member Functions | |
Player () | |
Construct a Player instance. | |
virtual | ~Player () |
Default destructor. | |
virtual bool | hasAttr (const std::string &name) const |
Check whether the attribute "name" exists. | |
virtual Atlas::Message::Element | getAttr (const std::string &name) const throw (NoSuchAttrException) |
Retrieve the attribute "name". | |
virtual void | setAttr (const std::string &name, const Atlas::Message::Element &attr) |
Set the attribute "name" to the value given by"attr". | |
virtual void | removeAttr (const std::string &name) |
Remove the attribute "name". This will not work for static attributes. | |
virtual void | sendContents (Atlas::Bridge *b) const |
Send the contents of this object to a Bridge. | |
virtual Atlas::Message::Element | asObject () const |
Convert this object to a Message::Element. | |
virtual Atlas::Message::Element::MapType | asMap () const |
Convert this object to a Message::Element::MapType. | |
void | setCharacters (const Atlas::Message::Element::ListType &val) |
Set the "characters" attribute. | |
const Atlas::Message::Element::ListType & | getCharacters () const |
Retrieve the "characters" attribute. | |
Atlas::Message::Element::ListType & | getCharacters () |
Retrieve the "characters" attribute as a non-const reference. | |
Static Public Member Functions | |
Player | Class () |
Create a new class for Player. | |
Protected Member Functions | |
Player (const char *, const char *) | |
Constructor for sub-classes. | |
void | sendCharacters (Atlas::Bridge *) const |
Protected Attributes | |
Atlas::Message::Element::ListType | attr_characters |
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
|
Retrieve the attribute "name". Throws NoSuchAttrException if it does not exist. Reimplemented from Atlas::Objects::Entity::Account. |
Copyright 2000 the respective authors.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.