addObstacle

abstract fun addObstacle(obstacle: W)(source)

Adds an obstacle to this environment. Obstacles are part of the environment setup: adding one fails once the environment holds nodes.

Parameters

obstacle
          the obstacle to add