public void makePerimeter()
{
for (int i = 0; i < envState.width; i++)
{
XYLocation loc = new XYLocation(i, 0);
XYLocation loc2 = new XYLocation(i, envState.height - 1);
envState.moveObjectToAbsoluteLocation(new Wall(), loc);
envState.moveObjectToAbsoluteLocation(new Wall(), loc2);
}
for (int i = 0; i < envState.height; i++)
{
XYLocation loc = new XYLocation(0, i);
XYLocation loc2 = new XYLocation(envState.width - 1, i);
envState.moveObjectToAbsoluteLocation(new Wall(), loc);
envState.moveObjectToAbsoluteLocation(new Wall(), loc2);
}
}
}