/*
* Nathan Eloe 4/24/2013
* house.h
* Declaration of a house class
*/
#ifndef HOUSE_H
#define HOUSE_H
#include <iostream>
#include "fam_member.h"
using namespace std;
const int MAX=25;
class Cleaner;
class House
{
public:
House(const int size, const int numTrash, Cleaner & c,
FMember & fam);
int size() const {return m_size;}
int cell(const int i,const int j)const{return m_floor[i][j];}
int cell(const Location& l)const{return m_floor[l.m_x]
[l.m_y];}
friend ostream & operator << (ostream & o, const House & h);
private:
char m_floor[MAX][MAX];
unsigned int m_size;
unsigned int m_initTrash;
void scatter_trash();
};
#endif