Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SolidTile2() [1/2]

static bool Terraria.WorldGen.SolidTile2 ( int i,
int j )
inlinestatic

Definition at line 60924 of file WorldGen.cs.

60925 {
60926 try
60927 {
60928 if (Main.tile[i, j] == null)
60929 {
60930 return true;
60931 }
60932 if (Main.tile[i, j].active() && Main.tileSolid[Main.tile[i, j].type] && ((TileID.Sets.Platforms[Main.tile[i, j].type] && (Main.tile[i, j].halfBrick() || Main.tile[i, j].topSlope())) || Main.tile[i, j].slope() == 0) && !Main.tile[i, j].halfBrick() && !Main.tile[i, j].inActive())
60933 {
60934 return true;
60935 }
60936 }
60937 catch
60938 {
60939 }
60940 return false;
60941 }
static bool[] Platforms
Definition TileID.cs:163

References Terraria.ID.TileID.Sets.Platforms, Terraria.Main.tile, and Terraria.Main.tileSolid.