Example #1
0
 private void UpdateUI()
 {
     lblMap.Text       = engine.MapDisplay;
     lblRound.Text     = "Round: " + engine.Round;
     rtbInfo.Text      = engine.GetUnitInfo();
     rtbInfo.Text      = engine.GetBuildingInfo();
     lblUnits.Text     = "Units (" + engine.NumUnits + ")";
     lblBuildings.Text = "Buildings (" + engine.NumBuildings + ")";
     //updates this text based on num of things on the engine
 }