line2d added as a wall supoerclass