Handling different land types by inheritance