Housing: Owner - ellenvoegtli/simcity GitHub Wiki

###Data

	int id;
	List<Property> properties;
	Map<OccupantAgent, String> ToDo;
	
	class Property{houseAgent house, OccupantAgent renter}
	

###Messages

msgPleaseFix(OccupantAgent occp, String appName)
	{
		ToDo.put(occp, getName);
	}

###Scheduler

if(ToDo.empty() == false)
	{
		serviceRenter()
	}

###Actions

serviceRenter()
	{
		for(occupantAgent occ : ToDo.keyValue())
		{
			DoGoToRenterHome(occ.house.getLocation())
			DoGoToKitchenApp(ToDo.get(occ));
			repair();
			ToDo.remove(occ);
			DoGoBackHome();
		}
	}
	
	repair()
	{
		//timer to execute while owner is fixing appliance;
	}
⚠️ **GitHub.com Fallback** ⚠️