Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
collisionType
int Terraria.Tile.collisionType
get
Definition at line
68
of file
Tile.cs
.
69
{
70
get
71
{
72
if
(!
active
())
73
{
74
return
0;
75
}
76
if
(
halfBrick
())
77
{
78
return
2;
79
}
80
if
(
slope
() > 0)
81
{
82
return
2 +
slope
();
83
}
84
if
(Main.tileSolid[
type
] && !Main.tileSolidTop[
type
])
85
{
86
return
1;
87
}
88
return
-1;
89
}
90
}
Terraria.Tile.type
ushort type
Definition
Tile.cs:8
Terraria.Tile.active
bool active()
Definition
Tile.cs:565
Terraria.Tile.slope
byte slope()
Definition
Tile.cs:684
Terraria.Tile.halfBrick
bool halfBrick()
Definition
Tile.cs:650
Terraria
Tile
Generated by
1.10.0