duncan
Mom and Dad were wrong!
|
#include <character.h>
Public Member Functions | |
void | set_pos (size_t, size_t) |
void | set_name (const std::string &) |
size_t | row () |
size_t | col () |
const std::string & | name () |
Store information about a character in the world.
see LICENSE
size_t 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 | ( | size_t | r, |
size_t | c | ||
) |
Set the position of the character.
r | row |
c | column |