duncan
Mom and Dad were wrong!
Public Member Functions
client::Character Class Reference

#include <character.h>

List of all members.

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 ()

Detailed Description

Store information about a character in the world.

Author:
Harry Slatyer

see LICENSE


Member Function Documentation

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.

Parameters:
namecharacter's name
void Character::set_pos ( size_t  r,
size_t  c 
)

Set the position of the character.

Parameters:
rrow
ccolumn

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations