Obstacle
io.github.srs.model.StaticEntity.Obstacle
final case class Obstacle(pos: Point2D, orient: Orientation, width: Double, height: Double) extends StaticEntity
The Obstacle represents a rectangular obstacle in the simulation environment.
Value parameters
- height
-
height of the obstacle
- orient
-
orientation of the obstacle
- pos
-
center position of the obstacle
- width
-
width of the obstacle
Attributes
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Inherited fields
The orientation of the entity in 2D space.
The orientation of the entity in 2D space.
Attributes
- Returns
-
an Orientation representing the angle or facing direction of this entity.
- Inherited from:
- StaticEntity
In this article