Advertisement
wandrake

Untitled

Jan 23rd, 2013
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.32 KB | None | 0 0
  1.   <xsl:template match="/Game/Control/Keyboard">
  2.     class KeyboardControl {
  3.         public static void handle(PacmanGameSession gs) {
  4.             ConsoleKeyInfo k;
  5.             if (Console.KeyAvailable) {
  6.                 k = Console.ReadKey(true);
  7.     <xsl:apply-templates/>
  8.             }
  9.         }
  10.     }
  11.   </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement