Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

gameclass2.0

By: ace on Mar 31st, 2010  |  syntax: None  |  size: 0.75 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public String getExitString()
  2.     {
  3.        
  4.         System.out.println("You are " + getExit("direction"));
  5.             System.out.print("Exits: ");
  6.             if(getExit("anterior") != null)
  7.                 System.out.print("anterior ");
  8.             if(getExit ("posterior") != null)
  9.                 System.out.print("posterior ");
  10.             if(getExit("ventral") != null)
  11.                 System.out.print("ventral ");
  12.             if(getExit ("dorsal") != null)
  13.                 System.out.print("dorsal ");
  14.             if(getExit("medial") != null)
  15.                 System.out.print("medial");
  16.           if(getExit("distal") != null)
  17.                 System.out.print("distal");
  18.             System.out.println();
  19.             return direction;
  20.         }