blob: b6431f0646f85558c198c990e164e9dfce841545 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "entry.h"
namespace creature {
class Creature;
}
namespace entry {
std::string genText(const Entry& e, const creature::Creature& c) {
return e.getName() + " (" + e.getType() + ")";
}
std::string Entry::getText(const creature::Creature& c) const {
return genText(*this, c);
}
}
|