Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:template match="/Game/Control/Keyboard">
- class KeyboardControl {
- public static void handle(PacmanGameSession gs) {
- ConsoleKeyInfo k;
- if (Console.KeyAvailable) {
- k = Console.ReadKey(true);
- <xsl:apply-templates/>
- }
- }
- }
- </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement