alchemist-interfaces / it.unibo.alchemist.model.interfaces / Environment2DWithObstacles / removeObstacle

removeObstacle

abstract fun removeObstacle(o: W): Boolean

Removes an Obstacle2D from this environment.

Parameters

o - W: the Obstacle2D to add

Return
Boolean: true if the Obstacle2D has actually been removed