Example #1
0
 public int GetPrevChapter(int chapter)
 {
     if (ReadCfgWorld.ContainsKey(chapter - 1))
     {
         return(chapter - 1);
     }
     return(chapter);
 }
Example #2
0
 public int GetNextChapter(int chapter)
 {
     if (ReadCfgWorld.ContainsKey(chapter + 1))
     {
         return(chapter + 1);
     }
     return(chapter);
 }