Class FlipSokoban

java.lang.Object
games.stendhal.tools.FlipSokoban

public class FlipSokoban extends Object
flips the sokoban.txt file
Author:
hendrik
  • Constructor Details

    • FlipSokoban

      public FlipSokoban()
  • Method Details

    • flip

      public void flip(BufferedReader reader, PrintStream out) throws IOException
      reverses each line in a sokoban board; without reversing comments.
      Parameters:
      reader - input
      out - out
      Throws:
      IOException - in case of an input/output error
    • main

      public static void main(String[] args) throws IOException
      reverses each line in a sokoban board; without reversing comments.
      Parameters:
      args - ignored
      Throws:
      IOException - in case of an input/output error