Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
FindSharpTearsOpening()
bool
Terraria.Player.FindSharpTearsOpening
(
int
x
,
int
y
,
bool
acceptLeft
,
bool
acceptRight
,
bool
acceptUp
,
bool
acceptDown
)
inline
private
Definition at line
46791
of file
Player.cs
.
46792
{
46793
if
(
acceptLeft
&& !
WorldGen
.SolidTile(x - 1, y))
46794
{
46795
return
true
;
46796
}
46797
if
(
acceptRight
&& !
WorldGen
.SolidTile(x + 1, y))
46798
{
46799
return
true
;
46800
}
46801
if
(
acceptUp
&& !
WorldGen
.SolidTile(x, y - 1))
46802
{
46803
return
true
;
46804
}
46805
if
(
acceptDown
&& !
WorldGen
.SolidTile(x, y + 1))
46806
{
46807
return
true
;
46808
}
46809
return
false
;
46810
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
Terraria.GameContent.GameNotificationType.WorldGen
@ WorldGen
References
Terraria.WorldGen.SolidTile()
.
Terraria
Player
Generated by
1.10.0