Eventy upraveny pro podporu dvou hráčů. Všechny dveře se zobrazují na správných pozicích pro oba hráče.
This commit is contained in:
parent
cea56112ea
commit
3049417914
18 changed files with 157 additions and 75 deletions
|
|
@ -9,8 +9,8 @@ namespace FNAF_Clone.GUI;
|
|||
public class Screen {
|
||||
|
||||
public static Dictionary<string, Screen> Screens = new();
|
||||
public static Screen CurrentScreen{ get; private set; }
|
||||
|
||||
public static Screen CurrentScreen{ get; private set; } = Empty;
|
||||
|
||||
public static void AddScreens(Screen[] screens) {
|
||||
foreach (var screen in screens){
|
||||
Screens.Add(screen.Label, screen);
|
||||
|
|
@ -33,6 +33,8 @@ public class Screen {
|
|||
Screens.Remove(id);
|
||||
}
|
||||
|
||||
public static Screen Empty => new("");
|
||||
|
||||
|
||||
public string Label;
|
||||
private Dictionary<string, UIElement> elements = new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue