space-engineers-api
0.9.0
common
space-engineers-api
/
spaceEngineers.util.generator.maze
/
Maze
Maze
common
class
Maze
(
val
width
:
Int
,
val
height
:
Int
,
val
startX
:
Int
=
2
,
val
rnd
:
Random
=
Random.Default
)
Content copied to clipboard
Types
Constructors
Functions
Properties
Constructors
Maze
Link copied to clipboard
common
fun
Maze
(
width
:
Int
,
height
:
Int
,
startX
:
Int
=
2
,
rnd
:
Random
=
Random.Default
)
Content copied to clipboard
Types
Cell
Link copied to clipboard
common
enum
Cell
:
Enum
<
Maze.Cell
>
Content copied to clipboard
Functions
as
Sequence
Link copied to clipboard
common
fun
asSequence
(
)
:
Sequence
<
Pair
<
Position
,
Maze.Cell
>
>
Content copied to clipboard
get
Link copied to clipboard
common
operator
fun
get
(
x
:
Int
,
y
:
Int
)
:
Maze.Cell
Content copied to clipboard
to
String
Link copied to clipboard
common
open
override
fun
toString
(
)
:
String
Content copied to clipboard
Properties
height
Link copied to clipboard
common
val
height
:
Int
Content copied to clipboard
rnd
Link copied to clipboard
common
val
rnd
:
Random
Content copied to clipboard
start
X
Link copied to clipboard
common
val
startX
:
Int
=
2
Content copied to clipboard
width
Link copied to clipboard
common
val
width
:
Int
Content copied to clipboard