Implemented double dispatch/visitor pattern for isObstacleFor(Entity)