Class NineGridPlacement.Neighbor
Definition
Namespace: StardewUI.Layout
Assembly: StardewUI.dll
Represents an adjacent placement; the result of GetNeighbors(Boolean).
Inheritance
Object ⇦ Neighbor
Implements
IEquatable<Neighbor>
Members
Constructors
| Name | Description |
|---|---|
| Neighbor(Direction, NineGridPlacement) | Represents an adjacent placement; the result of GetNeighbors(Boolean). |
Properties
| Name | Description |
|---|---|
| Direction | The direction of traversal for this neighbor. |
| EqualityContract | |
| Placement | The neighboring placement. |
Details
Constructors
Neighbor(Direction, NineGridPlacement)
Represents an adjacent placement; the result of GetNeighbors(Boolean).
Parameters
Direction Direction
The direction of traversal for this neighbor.
Placement NineGridPlacement
The neighboring placement.
Properties
Direction
The direction of traversal for this neighbor.
Property Value
EqualityContract
Property Value
Placement
The neighboring placement.