#include <avatar.h>
Definition at line 26 of file avatar.h.
◆ Avatar()
Avatar::Avatar |
( |
const std::string & |
name = {} | ) |
|
|
explicit |
◆ getDisplayBold()
bool Avatar::getDisplayBold |
( |
| ) |
const |
|
inline |
◆ getHp()
int Avatar::getHp |
( |
| ) |
const |
|
inline |
◆ getMaxHp()
int Avatar::getMaxHp |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string & Avatar::getName |
( |
| ) |
const |
|
inline |
Returns the avatar's name.
Definition at line 34 of file avatar.h.
◆ getOnline()
bool Avatar::getOnline |
( |
| ) |
const |
|
inline |
Returns the avatar's online status.
Definition at line 44 of file avatar.h.
◆ setDisplayBold()
void Avatar::setDisplayBold |
( |
bool |
displayBold | ) |
|
|
inline |
◆ setHp()
void Avatar::setHp |
( |
int |
hp | ) |
|
|
inline |
◆ setMaxHp()
void Avatar::setMaxHp |
( |
int |
maxHp | ) |
|
|
inline |
◆ setName()
void Avatar::setName |
( |
const std::string & |
name | ) |
|
|
inline |
Set the avatar's name.
Definition at line 39 of file avatar.h.
◆ setOnline()
void Avatar::setOnline |
( |
bool |
online | ) |
|
|
inline |
Set the avatar's online status.
Definition at line 49 of file avatar.h.
◆ mDisplayBold
bool Avatar::mDisplayBold |
|
private |
◆ mHp
◆ mMaxHp
◆ mName
std::string Avatar::mName |
|
private |
◆ mOnline
The documentation for this class was generated from the following files: