-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMazeGenerator.xml
79 lines (78 loc) · 2.58 KB
/
MazeGenerator.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<documentation>
<class name="Maze">
<summary>
Represents a maze and contains methods for building and managing the maze structure.
</summary>
<method name="Build">
<summary>
Initiates the maze building process.
</summary>
<returns>
void
</returns>
</method>
<method name="BuildMazeLogic">
<summary>
Constructs the logical structure of the maze, including rooms and connections.
</summary>
<returns>
void
</returns>
</method>
<method name="PathMaker">
<summary>
Recursively creates paths in the maze starting from a given position.
</summary>
<param name="startPos" type="int[]">
The starting position for path creation.
</param>
<returns>
void
</returns>
</method>
<method name="ConNearUnconRoomDir">
<summary>
Finds a direction to an unconnected room.
</summary>
<returns>
int[] - The coordinates of the unconnected room.
</returns>
</method>
<method name="UnconRoom_DirStep">
<summary>
Gets the direction steps of nearby unconnected rooms.
</summary>
<param name="pos" type="int[]">
The current position to check for unconnected rooms.
</param>
<returns>
int[] - An array representing the direction steps.
</returns>
</method>
<method name="RandNearUnconnected_DirStep">
<summary>
Randomly selects a direction to an unconnected room.
</summary>
<param name="pos" type="int[]">
The current position to evaluate.
</param>
<returns>
int[] - The direction to the next unconnected room.
</returns>
</method>
<method name="Connecter">
<summary>
Connects the current room with the next room in the specified direction.
</summary>
<param name="pos" type="int[]">
The current position of the room.
</param>
<param name="dirInt" type="int">
The direction to connect to.
</param>
<returns>
void
</returns>
</method>
</class>
</documentation>