pub fn deep_liquid_variant (tile_type : TileType) -> TileType {
		match tile_type {
			TileType::DeepLava | TileType::ShallowLava => TileType::DeepLava,
			TileType::DeepWater | TileType::ShallowWater => TileType::DeepWater,
			_ => {
				error!("Unknown liquid type {:?}", tile_type);
				panic!("Unknown liquid type {:?}", tile_type);
			}
		}
	}
/// Returns the deep variant of a tile type if it is liquid. Panics otherwise.
Returns the deep variant of a tile type if it is liquid. Panics otherwise.
Returns the deep variant of a tile type if it is liquid . Panics otherwise .
pub fn deep_liquid_variant (tile_type : TileType) -> TileType {
		match tile_type {
			TileType::DeepLava | TileType::ShallowLava => TileType::DeepLava,
			TileType::DeepWater | TileType::ShallowWater => TileType::DeepWater,
			_ => {
				error!("Unknown liquid type {:?}", tile_type);
				panic!("Unknown liquid type {:?}", tile_type);
			}
		}
	}
pub fn deep_liquid_variant ( tile_type : TileType ) -> TileType { match tile_type { TileType :: DeepLava | TileType :: ShallowLava => TileType :: DeepLava , TileType :: DeepWater | TileType :: ShallowWater => TileType :: DeepWater , _ => { error ! ( " " tile_type ) ; panic ! ( " " tile_type ) ; } } }
Returns the deep variant of a tile type if it is liquid.
Returns the deep variant of a tile type if it is liquid .
tile_type
TileType
tile_type
TileType