public static CheckWaterDeath ( int type, int style ) : bool | ||
type | int | |
style | int | |
return | bool |
public static bool CheckWaterDeath(int type, int style)
{
TileObjectData tileData = TileObjectData.GetTileData(type, style, 0);
if (tileData == null)
return Main.tileWaterDeath[type];
return tileData.WaterDeath;
}
TileObjectData::CheckWaterDeath ( |