Detectable class changed a bit to make it more straightfoward to use. Also added new isObjectBehind method.
Changed isObjectVisible method so it won't return true when there is a wall in between objects.