added getsection method

This commit is contained in:
2022-02-20 09:23:02 -06:00
parent 614c7d2e02
commit b20ca1e878
3 changed files with 15 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ namespace window
public class Display
{
Dictionary<int, Section> sectionList;
Dictionary<string, Section> sectionList;
public Display () {
@@ -15,7 +15,10 @@ namespace window
}
public void AddSection(Section section) {
sectionList.Add(sectionList.Count,section);
sectionList.Add(section._name,section);
}
public Section GetSection (string sectionName) {
}
public void Present() {