public byte slope()
{
return (byte)(((int)this.sTileHeader & 28672) >> 12);
}
Tile::slope ( byte slope ) : void |
public static bool SolidTile(Tile testTile) { try { if (testTile == null) { bool result = true; return result; } if (testTile.active() && Main.tileSolid[(int)testTile.type] && !Main.tileSolidTop[(int)testTile.type] && !testTile.halfBrick() && testTile.slope() == 0 && !testTile.inActive()) { bool result = true; return result; } } catch { } return false; }