refactor: make mutexes private
This commit is contained in:
parent
ee2bbb0ec7
commit
02099dd46b
@ -20,7 +20,7 @@ namespace PeepingTom {
|
|||||||
private long soundLastPlayed = 0;
|
private long soundLastPlayed = 0;
|
||||||
private int lastTargetAmount = 0;
|
private int lastTargetAmount = 0;
|
||||||
|
|
||||||
public readonly Mutex currentMutex = new Mutex();
|
private readonly Mutex currentMutex = new Mutex();
|
||||||
private PlayerCharacter[] current = Array.Empty<PlayerCharacter>();
|
private PlayerCharacter[] current = Array.Empty<PlayerCharacter>();
|
||||||
public IReadOnlyCollection<PlayerCharacter> CurrentTargeters {
|
public IReadOnlyCollection<PlayerCharacter> CurrentTargeters {
|
||||||
get {
|
get {
|
||||||
@ -31,7 +31,7 @@ namespace PeepingTom {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly Mutex previousMutex = new Mutex();
|
private readonly Mutex previousMutex = new Mutex();
|
||||||
private readonly List<Targeter> previousTargeters = new List<Targeter>();
|
private readonly List<Targeter> previousTargeters = new List<Targeter>();
|
||||||
public IReadOnlyCollection<Targeter> PreviousTargeters {
|
public IReadOnlyCollection<Targeter> PreviousTargeters {
|
||||||
get {
|
get {
|
||||||
|
Loading…
Reference in New Issue
Block a user