addObstacle

abstract fun addObstacle(obstacle: W)

Adds an obstacle to this environment.

Parameters

obstacle
    the obstacle to add