Search
Preparing search index...
The search index is not available
js-diplomacy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"board"
board
MapEdge
Class MapEdge<Power, MilitaryBranch>
Relation between board.Location
Type parameters
Power
MilitaryBranch
Hierarchy
LabeledEdge
<
Location
<
Power
,
MilitaryBranch
>
,
Set
<
MilitaryBranch
>
>
MapEdge
Implements
IEdge
<
Location
<
Power
,
MilitaryBranch
>
>
Index
Constructors
constructor
Properties
label
n0
n1
Constructors
constructor
new
Map
Edge
(
n1
:
Location
<
Power
,
MilitaryBranch
>
, n2
:
Location
<
Power
,
MilitaryBranch
>
, militaryBranches
:
Set
<
MilitaryBranch
>
|
Array
<
MilitaryBranch
>
)
:
MapEdge
Parameters
n1:
Location
<
Power
,
MilitaryBranch
>
The end point 1.
n2:
Location
<
Power
,
MilitaryBranch
>
The end point 2.
militaryBranches:
Set
<
MilitaryBranch
>
|
Array
<
MilitaryBranch
>
Returns
MapEdge
Properties
label
label
:
Set
<
MilitaryBranch
>
n0
n0
:
Location
<
Power
,
MilitaryBranch
>
n1
n1
:
Location
<
Power
,
MilitaryBranch
>
Globals
"board"
board
Board
Diplomacy
Map
Location
Map
Edge
constructor
label
n0
n1
Name
Province
Unit
Generated using
TypeDoc
Relation between board.Location