Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
TileTypeVine.cs
Go to the documentation of this file.
1
public
class
TileTypeVine
:
TileTypeObj
2
{
3
public
override
int
GetDesiredDir
(
Point
p,
int
d)
4
{
5
if
(p.
cell
.
Back
.
HasFullBlockOrWallOrFence
)
6
{
7
return
0;
8
}
9
if
(p.
cell
.
Left
.
HasFullBlockOrWallOrFence
)
10
{
11
return
1;
12
}
13
if
(p.
cell
.
Front
.
HasFullBlockOrWallOrFence
)
14
{
15
return
2;
16
}
17
if
(p.
cell
.
Right
.
HasFullBlockOrWallOrFence
)
18
{
19
return
3;
20
}
21
return
-1;
22
}
23
}
Cell.Back
Cell Back
Definition:
Cell.cs:153
Cell.Front
Cell Front
Definition:
Cell.cs:129
Cell.Left
Cell Left
Definition:
Cell.cs:165
Cell.Right
Cell Right
Definition:
Cell.cs:141
Cell.HasFullBlockOrWallOrFence
bool HasFullBlockOrWallOrFence
Definition:
Cell.cs:820
Point
Definition:
Point.cs:9
Point.cell
Cell cell
Definition:
Point.cs:51
TileTypeObj
Definition:
TileTypeObj.cs:2
TileTypeVine
Definition:
TileTypeVine.cs:2
TileTypeVine.GetDesiredDir
override int GetDesiredDir(Point p, int d)
Definition:
TileTypeVine.cs:3
Elin
TileTypeVine.cs
Generated by
1.9.6