Boundary

io.github.srs.model.entity.staticentity.StaticEntity.Boundary
See theBoundary companion enum
object Boundary

Attributes

Companion
enum
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Boundary.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def createBoundaries(width: Int, height: Int): Set[StaticEntity]

Creates boundaries for the environment based on its width and height.

Creates boundaries for the environment based on its width and height.

Value parameters

height

the height of the environment

width

the width of the environment

Attributes

Returns

a Validation containing a set of boundaries if successful, otherwise an error.