added getsection method
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user