space-engineers-api
0.9.0
common
space-engineers-api
/
spaceEngineers.util.generator.maze
/
Position
Position
common
data
class
Position
(
val
x
:
Int
,
val
y
:
Int
)
Content copied to clipboard
Constructors
Functions
Properties
Extensions
Constructors
Position
Link copied to clipboard
common
fun
Position
(
x
:
Int
,
y
:
Int
)
Content copied to clipboard
Functions
down
Link copied to clipboard
common
fun
down
(
)
:
DirectedPosition
Content copied to clipboard
left
Link copied to clipboard
common
fun
left
(
)
:
DirectedPosition
Content copied to clipboard
right
Link copied to clipboard
common
fun
right
(
)
:
DirectedPosition
Content copied to clipboard
surround
Link copied to clipboard
common
fun
surround
(
)
:
Array
<
DirectedPosition
>
Content copied to clipboard
up
Link copied to clipboard
common
fun
up
(
)
:
DirectedPosition
Content copied to clipboard
Properties
x
Link copied to clipboard
common
val
x
:
Int
Content copied to clipboard
y
Link copied to clipboard
common
val
y
:
Int
Content copied to clipboard
Extensions
plus
Link copied to clipboard
common
operator
fun
Position
.
plus
(
direction
:
Direction
)
:
DirectedPosition
Content copied to clipboard
operator
fun
Position
.
plus
(
position
:
Position
)
:
Position
Content copied to clipboard