Ejemplo n.º 1
0
 private static void LoadTransferPoints(String transfer, PlayableMainGameScreen PGS)
 {
     char[] delims = { '<', '>' };
     String[] tokens = transfer.Substring(15).Split(delims);
     String nextScreen = tokens[1];
     int xCoord = Int16.Parse(tokens[3]);
     int yCoord = Int16.Parse(tokens[5]);
     int nextX = Int16.Parse(tokens[7]);
     int nextY = Int16.Parse(tokens[9]);
     PGS.setTransferPoint(nextScreen, xCoord, yCoord, nextX, nextY);
 }