Commits

Anonymous committed 53055f1

fixing headless mode

  • Participants
  • Parent commits d6d57b6
  • Branches development

Comments (0)

Files changed (1)

File trunk/Slick/src/org/newdawn/slick/tiled/TiledMap.java

 	 * @param h
 	 *            True if we're running on a headless system
 	 */
-	private static void setHeadless(boolean h) {
+	public static void setHeadless(boolean h) {
 		headless = h;
 	}
+	
+	public static boolean isHeadless() {
+		return headless;
+	}
 
 	/** The width of the map */
 	protected int width;