Package net.sf.freecol.tools
Class ForestMaker
- java.lang.Object
-
- net.sf.freecol.tools.ForestMaker
-
public class ForestMaker extends java.lang.Object
Generate forest tiles.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ForestMaker.ImageLocation
-
Field Summary
Fields Modifier and Type Field Description private static int
BASE_HEIGHT
private static int
BASE_WIDTH
private static java.lang.String
DESTDIR
private static boolean
drawBorders
private static boolean
drawTrees
private static int
HALF_HEIGHT
private static int
HALF_WIDTH
private static int[]
LIMIT
private static int
MARGIN
private static int[]
POWERS_OF_TWO
private static int
RIVER_HEIGHT
private static int
RIVER_WIDTH
private static double[]
SLOPE
private static int
TREES
-
Constructor Summary
Constructors Constructor Description ForestMaker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Pass the source directory as first argument.
-
-
-
Field Detail
-
DESTDIR
private static final java.lang.String DESTDIR
- See Also:
- Constant Field Values
-
BASE_WIDTH
private static final int BASE_WIDTH
- See Also:
- Constant Field Values
-
BASE_HEIGHT
private static final int BASE_HEIGHT
- See Also:
- Constant Field Values
-
MARGIN
private static final int MARGIN
- See Also:
- Constant Field Values
-
TREES
private static final int TREES
- See Also:
- Constant Field Values
-
RIVER_HEIGHT
private static final int RIVER_HEIGHT
- See Also:
- Constant Field Values
-
RIVER_WIDTH
private static final int RIVER_WIDTH
- See Also:
- Constant Field Values
-
HALF_WIDTH
private static final int HALF_WIDTH
- See Also:
- Constant Field Values
-
HALF_HEIGHT
private static final int HALF_HEIGHT
- See Also:
- Constant Field Values
-
LIMIT
private static final int[] LIMIT
-
SLOPE
private static final double[] SLOPE
-
POWERS_OF_TWO
private static final int[] POWERS_OF_TWO
-
drawBorders
private static final boolean drawBorders
- See Also:
- Constant Field Values
-
drawTrees
private static final boolean drawTrees
- See Also:
- Constant Field Values
-
-