mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NewHorizons.Handlers
|
|
{
|
|
public static class InterferenceHandler
|
|
{
|
|
public static bool _playerInterference;
|
|
public static bool _probeInterference;
|
|
public static bool _shipInterference;
|
|
|
|
public static bool PlayerHasInterference() => _playerInterference;
|
|
public static bool ProbeHasInterference() => _probeInterference;
|
|
public static bool ShipHasInterference() => _shipInterference;
|
|
|
|
public static void OnPlayerEnterInterferenceVolume() => _playerInterference = true;
|
|
public static void OnPlayerExitInterferenceVolume() => _playerInterference = false;
|
|
|
|
public static void OnProbeEnterInterferenceVolume() => _probeInterference = true;
|
|
public static void OnProbeExitInterferenceVolume() => _probeInterference = false;
|
|
|
|
public static void OnShipEnterInterferenceVolume() => _shipInterference = true;
|
|
public static void OnShipExitInterferenceVolume() => _shipInterference = false;
|
|
}
|
|
}
|