addObstacle method
Adds an obstacle to this vision instance.
Implementation
Vision addObstacle(GameEntity obstacle ) {
obstacles.add( obstacle );
return this;
}
Adds an obstacle to this vision instance.
Vision addObstacle(GameEntity obstacle ) {
obstacles.add( obstacle );
return this;
}