cleaner.h
/*
* Nathan Eloe 4/24/2013
* cleaner.h
* Declaration of a cleaner class
*/
#ifndef CLEANER_H
#define CLEANER_H
#include <string>
#include "location.h"
class House;
class Cleaner
{
public:
Cleaner(const string name, const Location& loc = ORIGIN):
m_name(name), m_stress(0), m_loc(loc) {}
void calc_stress(const House & house);
Location getLoc() const {return m_loc;}
string getName() const {return m_name;}
void setLoc(const Location& l) {m_loc = l; return;}
friend ostream & operator << (ostream & o, const Cleaner & c);
private:
string m_name;
int m_stress;
Location m_loc;
};
#endif