コード例 #1
0
 public static void PrintDraft()
 {
     if (newMap[PlayerCurrentCol, PlayerCurrentRow].VisitedHint != true)
     {
         VisitedPointOfInterest.Add($"[{newMap[PlayerCurrentCol, PlayerCurrentRow].Column},{newMap[PlayerCurrentCol, PlayerCurrentRow].Row}]: Draft");
     }
     Console.WriteLine("You detected draft in this cavern");
 }
コード例 #2
0
 public static void PrintBats()
 {
     if (newMap[PlayerCurrentCol, PlayerCurrentRow].VisitedHint != true)
     {
         VisitedPointOfInterest.Add($"[{newMap[PlayerCurrentCol, PlayerCurrentRow].Column},{newMap[PlayerCurrentCol, PlayerCurrentRow].Row}]: Bats");
     }
     Console.WriteLine("You walked in to a group of bats");
 }
コード例 #3
0
 //Below three Print methods print the hint to alert player the current cavern they're in contain hints of thier surrounding caverns.
 public static void PrintBlood()
 {
     if (newMap[PlayerCurrentCol, PlayerCurrentRow].VisitedHint != true)
     {
         VisitedPointOfInterest.Add($"[{newMap[PlayerCurrentCol, PlayerCurrentRow].Column},{newMap[PlayerCurrentCol, PlayerCurrentRow].Row}]: Blood");
     }
     Console.WriteLine("You see blood in this cavern");
 }