|
duncan
Mom and Dad were wrong!
|
#include <character.h>


Public Member Functions | |
| void | set_pos (double, double) |
| void | set_name (const std::string &) |
| double | row () |
| double | col () |
| const std::string & | name () |
| virtual bool | can_find_path () |
Public Attributes | |
| net::index_t | index |
Protected Attributes | |
| std::string | name_ |
| double | row_ |
| double | col_ |
Store information about a character.
see LICENSE
| bool Character::can_find_path | ( | ) | [virtual] |
Reimplemented in server::Player.
| double Character::row | ( | ) |
Get the character's row, column or name.
| void Character::set_name | ( | const std::string & | name | ) |
Set the character's name.
| name | character's name |
| void Character::set_pos | ( | double | r, |
| double | c | ||
| ) |
Set the position of the character.
| r | row |
| c | column |
1.7.4