public class SubstitutionEditorSaveState
extends java.lang.Object
implements java.io.Serializable
SubstitutionEditor
.Modifier and Type | Field and Description |
---|---|
boolean |
antialiasing
A variable telling us if the
PatchDisplay of the SubstitutionEditor
was set to use antialiasing to draw itself. |
java.util.List<java.awt.Color> |
colours
The colour scheme to which
ColourPalette was set when the
SubstitutionEditor was saved. |
int[] |
edge
The edge sequence of the substitution.
|
int |
maxSubstitutions
The maximum number of substitutions that were allowed with this
SubstitutionEditor.
|
java.util.List<RhombBoundary> |
rules
A List of patches representing the substituted images of all the
supertiles of the saved SubstitutionEditor.
|
static long |
serialVersionUID
For serialization.
|
boolean |
supertiles
A variable telling us if the
PatchDisplay of the SubstitutionEditor
was set to draw supertile outlines. |
Constructor and Description |
---|
SubstitutionEditorSaveState(java.util.List<RhombBoundary> rules,
int[] edge,
java.util.List<java.awt.Color> colours,
boolean antialiasing,
boolean supertiles,
int maxSubstitutions) |
public static final long serialVersionUID
public final java.util.List<RhombBoundary> rules
public final int[] edge
public final java.util.List<java.awt.Color> colours
ColourPalette
was set when the
SubstitutionEditor was saved.public final boolean antialiasing
PatchDisplay
of the SubstitutionEditor
was set to use antialiasing to draw itself.public final boolean supertiles
PatchDisplay
of the SubstitutionEditor
was set to draw supertile outlines.public final int maxSubstitutions
public SubstitutionEditorSaveState(java.util.List<RhombBoundary> rules, int[] edge, java.util.List<java.awt.Color> colours, boolean antialiasing, boolean supertiles, int maxSubstitutions)