#include "common.hpp"
bool Thing::execute(Thing& src,Thing& dst){
//maybe this isn't needed or should this have been an eat
return false;
}
bool Thing::execute (Thing& dest) {
//maybe this isn't needed or should this have been an eat
return false;
}
bool Thing::EatMe(Avatar &hungry) {
return false;//does nothing
}
Thing::~Thing() {
}
void Thing::privateMessage(SENSES sense, string msg){
}
void Thing::tick(shared_ptr<Thing> & location, unsigned int whichiteminlocation){
}
bool Thing::takeMe(Container&destination, Container¤tLocation) {
return true;//take me, baby
}
bool Poison::EatMe(Avatar &hungry){
hungry.addHealth(-2);
return true;
}
bool Food::EatMe(Avatar &hungry){
hungry.addHealth(1);
return true;
}