Wall

model.entities.Wall
See theWall companion class
object Wall

Factory object for creating Wall instances.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Wall.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 apply(position: Vector2D, width: Double, height: Double): Wall

Creates a new wall with an auto-generated unique identifier.

Creates a new wall with an auto-generated unique identifier.

Generates a random ID with "wall-" prefix for convenient wall creation without manual ID management.

Value parameters

height

the height of the wall

position

the 2D coordinates for the wall placement

width

the width of the wall

Attributes

Returns

a new Wall instance with generated ID