visit(Terrain t) now changes bool value of onGround