object Junction
The Junction
companion object provides a builder method for sinks.
- Alphabetic
- By Inheritance
- Junction
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(name: String, director: Model, jTime: Variate, xy: (Int, Int)): Junction
Create a junction using defaults for width 'w' and height 'h'.
Create a junction using defaults for width 'w' and height 'h'.
- name
the name of the junction
- director
the director controlling the model
- jTime
the jump-time through the junction
- xy
the (x, y) coordinates for the top-left corner of the junction
-
def
group(director: Model, jTime: Variate, xy: (Int, Int), jnt: (String, (Int, Int))*): List[Junction]
Create a group of related junctions using defaults for width 'w' and height 'h'.
Create a group of related junctions using defaults for width 'w' and height 'h'.
- director
the director controlling the model
- jTime
the jump-time through the junction
- xy
the (x, y) coordinates for the top-left corner of the reference junction.
- jnt
repeated junction specific info: name, offset