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

addObstacle

abstract fun addObstacle(o: W): Unit

Adds an Obstacle2D to this environment.

Parameters

o - W: the Obstacle2D to add