#include <Player.h>
Inheritance diagram for Atlas::Objects::Entity::Player:
Public Member Functions | |
Player () | |
Construct a Player class definition. | |
virtual | ~Player () |
Default destructor. | |
virtual bool | HasAttr (const std::string &name) const |
Check whether the attribute "name" exists. | |
virtual Atlas::Message::Object | GetAttr (const std::string &name) const throw (NoSuchAttrException) |
Retrieve the attribute "name". | |
virtual void | SetAttr (const std::string &name, const Atlas::Message::Object &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::Object | AsObject () const |
Convert this object to a Message::Object. | |
virtual Atlas::Message::Object::MapType | AsMap () const |
Convert this object to a Message::Object::MapType. | |
void | SetCharacters (const Atlas::Message::Object::ListType &val) |
Set the "characters" attribute. | |
const Atlas::Message::Object::ListType & | GetCharacters () const |
Retrieve the "characters" attribute. | |
Atlas::Message::Object::ListType & | GetCharacters () |
Retrieve the "characters" attribute as a non-const reference. | |
Static Public Member Functions | |
Player | Instantiate () |
Create a new instance of Player. | |
Protected Member Functions | |
Player (const std::string &, const std::string &) | |
void | SendCharacters (Atlas::Bridge *) const |
Protected Attributes | |
Atlas::Message::Object::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.