Changed created the enumeration Cell.Terrain and changed Cell.terrain from a Boolean to a Cell.Terrain.