public static GasMixture?GetTileAir(this EntityCoordinates coordinates, IEntityManager?entityManager = null) { return(coordinates.GetTileAtmosphere(entityManager).Air); }
public static bool TryGetTileAtmosphere(this EntityCoordinates coordinates, [MaybeNullWhen(false)] out TileAtmosphere atmosphere) { // ReSharper disable once ConditionIsAlwaysTrueOrFalse return(!Equals(atmosphere = coordinates.GetTileAtmosphere() !, default));
public static GasMixture?GetTileAir(this EntityCoordinates coordinates) { return(coordinates.GetTileAtmosphere()?.Air); }