public XYEnvironmentState(int width, int height)
{
this.width = width;
this.height = height;
for (int h = 1; h <= height; h++)
{
for (int w = 1; w <= width; w++)
{
objsAtLocation.put(new XYLocation(h, w),
new LinkedHashSet<EnvironmentObject>());
}
}
}