Added getters for deltaX and deltaY to Direction class, and made the variables private.