#include <cassert>
#include "listnode.h"
#include "aClient.h"
-#include "extern.h"
#include "options.h"
using std::cout;
using std::endl;
using std::flush;
+void log(const char *fmt, ...);
+
template <class T>
class List {
public:
*/
T *dat;
dat = currentPtr->getData();
- log("name: %s", dat->name);
- log("weapon: %s", dat->weapon);
- log("death: %s", dat->death);
+ log("name: %s", dat->name.getString());
+ log("weapon: %s", dat->weapon.getString());
+ log("death: %s", dat->death.getString());
log("strength: %d", dat->strength);
log("exp: %ld", dat->exp);
log("gold: %ld", dat->gold);