Graphics overhaul & minor change to help puzzle

This commit is contained in:
2016-02-03 13:04:18 -06:00
parent 536cd31bb8
commit f50634f889
9 changed files with 386 additions and 454 deletions

View File

@@ -304,6 +304,13 @@ namespace EduNetworkBuilder
if (myWin.GameRandomGen == null) return null;
return myWin.myNetwork;
}
public static void MarkToUpdate()
{
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
if (myWin == null) return;
myWin.NeedsUpdate = true;
}
public static int nextPacketID()
{
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
@@ -500,6 +507,13 @@ namespace EduNetworkBuilder
myWin.SetProgress(HowFar, total);
}
public static void UpdateMessages()
{
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
if (myWin == null) return;
myWin.UpdateMessages();
}
public static int GetUniqueIdentifier()
{
Network myNet = GetNetwork();