separated terrain into it's own class