Cleanups
This commit is contained in:
parent
de32d997fb
commit
22d8a9ff2a
@ -9,7 +9,7 @@ namespace BlubbFish.Utils
|
||||
public abstract class OwnModel<T> where T : class
|
||||
{
|
||||
private static readonly Lazy<T> _instance = new Lazy<T>(() => CreateInstanceOfT());
|
||||
private List<OwnView> observer = new List<OwnView>();
|
||||
private readonly List<OwnView> observer = new List<OwnView>();
|
||||
public static T Instance
|
||||
{
|
||||
get {
|
||||
@ -35,5 +35,6 @@ namespace BlubbFish.Utils
|
||||
this.observer.ForEach(delegate (OwnView view) { view.Update(); });
|
||||
}
|
||||
abstract protected void Init();
|
||||
abstract public void Dispose();
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user