Index
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
S
- SAFETY_ORANGE - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Safety Orange" has RGB code
0xFF6600
, red 1.0, green 0.4, blue 0.0, alpha 1, hue 0.06666672, saturation 1.0, and value 1.0. - SAFFLOWER - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Safflower" has RGB code
0x5A4F74
, red 0.3529412, green 0.30980393, blue 0.45490196, alpha 1, hue 0.7162163, saturation 0.3189655, and value 0.45490196. - SAFFRON - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Saffron" has RGB code
0xF4C430
, red 0.95686275, green 0.76862746, blue 0.1882353, alpha 1, hue 0.12585044, saturation 0.8032787, and value 0.95686275. - SALMON - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Salmon" has RGB code
0xFF8C69
, red 1.0, green 0.54901963, blue 0.4117647, alpha 1, hue 0.03888893, saturation 0.58823526, and value 1.0. - SANDY_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sandy Brown" has RGB code
0xF4A460
, red 0.95686275, green 0.6431373, blue 0.3764706, alpha 1, hue 0.07657671, saturation 0.6065573, and value 0.95686275. - SANGRIA - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sangria" has RGB code
0x92000A
, red 0.57254905, green 0.0, blue 0.039215688, alpha 1, hue 0.9885845, saturation 1.0, and value 0.57254905. - SAPPANWOOD - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sappanwood" has RGB code
0x7E2639
, red 0.49411765, green 0.14901961, blue 0.22352941, alpha 1, hue 0.96401507, saturation 0.69841266, and value 0.49411765. - SAPPANWOOD_INCENSE - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sappanwood Incense" has RGB code
0xA24F46
, red 0.63529414, green 0.30980393, blue 0.27450982, alpha 1, hue 0.016304255, saturation 0.56790125, and value 0.63529414. - SAPPHIRE - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sapphire" has RGB code
0x082567
, red 0.03137255, green 0.14509805, blue 0.40392157, alpha 1, hue 0.61578953, saturation 0.9223301, and value 0.40392157. - saturate(Color, double) - Method in class squidpony.squidgrid.gui.gdx.SquidColorCenter
-
Saturates color (makes it closer to a vivid color like red or green and less gray) by the specified degree and returns the new color (saturated somewhat).
- saturate(Color, float) - Method in class squidpony.squidgrid.gui.gdx.SquidColorCenter
-
Saturates color (makes it closer to a vivid color like red or green and less gray) by the specified degree and returns the new color (saturated somewhat).
- saturated(Color) - Method in class squidpony.squidgrid.gui.gdx.SquidColorCenter
-
Fully saturates color (makes it a vivid color like red or green and less gray) and returns the modified copy.
- saturation() - Method in class squidpony.squidgrid.gui.gdx.SColor
-
Gets the saturation of this color, as a float ranging from 0.0f to 1.0f, inclusive.
- saturation(Color) - Static method in class squidpony.squidgrid.gui.gdx.SColor
-
Gets the saturation of the given Color, as a float ranging from 0.0f to 1.0f, inclusive.
- saturationAddend - Variable in class squidpony.squidgrid.gui.gdx.FloatFilters.HSVFilter
- SaturationFilter(float) - Constructor for class squidpony.squidgrid.gui.gdx.Filters.SaturationFilter
-
Sets up a SaturationFilter with the desired saturation multiplier.
- saturationMultiplier - Variable in class squidpony.squidgrid.gui.gdx.Filters.ColorizeFilter
- saturationMultiplier - Variable in class squidpony.squidgrid.gui.gdx.Filters.SaturationValueFilter
- saturationOfFloat(float) - Static method in class squidpony.squidgrid.gui.gdx.SColor
-
Gets the saturation of the given encoded color, as a float ranging from 0.0f to 1.0f, inclusive.
- SaturationValueFilter(float, float) - Constructor for class squidpony.squidgrid.gui.gdx.Filters.SaturationValueFilter
-
Sets up a SaturationValueFilter with the desired saturation and value multipliers.
- Savanna - Static variable in class squidpony.squidgrid.gui.gdx.WorldMapView
- savannaColor - Static variable in class squidpony.squidgrid.gui.gdx.WorldMapView
- SAWTOOTH_OAK - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sawtooth Oak" has RGB code
0xEC956C
, red 0.9254902, green 0.58431375, blue 0.42352942, alpha 1, hue 0.053385496, saturation 0.5423728, and value 0.9254902. - SCARLET - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Scarlet" has RGB code
0xFF2400
, red 1.0, green 0.14117648, blue 0.0, alpha 1, hue 0.02352953, saturation 1.0, and value 1.0. - scc - Variable in class squidpony.squidgrid.gui.gdx.SparseLayers
-
An IColorCenter to affect color caching and filtering; usually a SquidColorCenter, which can be easily obtained via
DefaultResources.getSCC()
. - scc - Variable in class squidpony.squidgrid.gui.gdx.SquidPanel
- scc - Variable in class squidpony.squidgrid.gui.gdx.TextCellFactory
- SCHOOL_BUS_YELLOW - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "School Bus Yellow" has RGB code
0xFFD800
, red 1.0, green 0.84705883, blue 0.0, alpha 1, hue 0.14117658, saturation 1.0, and value 1.0. - SColor - Class in squidpony.squidgrid.gui.gdx
-
Allows for the use of custom colors with custom names.
- SColor() - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
A constructor with no passed values.
- SColor(int) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that has the given combined RGB value.
- SColor(int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that has the given RGB values from 0 to 255 (inclusive).
- SColor(int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that has the given RGBA values.
- SColor(int, int, int, int, String) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that has the given RGBA values from 0 to 255 (inclusive) and the provided name.
- SColor(int, int, int, String) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that has the given RGB values from 0 to 255 (inclusive) and the provided name.
- SColor(int, String) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that has the given combined RGB value and the provided name.
- SColor(Color) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that's the same value as the passed in color.
- SColor(Color, String) - Constructor for class squidpony.squidgrid.gui.gdx.SColor
-
Creates a new color that's the same value as the passed in color and given the provided name.
- SCORCHED_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Scorched Brown" has RGB code
0x351F19
, red 0.20784314, green 0.12156863, blue 0.09803922, alpha 1, hue 0.035714388, saturation 0.5283019, and value 0.20784314. - SCORTCHED_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
Deprecated.This color name was misspelled; prefer
SColor.SCORCHED_BROWN
- screenHeight - Variable in class squidpony.squidgrid.gui.gdx.ScreenSizeManager
-
The screen's height, as given at creation time.
- ScreenSizeManager - Class in squidpony.squidgrid.gui.gdx
-
A container that keeps tracks of the sizes of margins and cells.
- ScreenSizeManager(int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.ScreenSizeManager
-
A fresh size manager, for the given screen size and the given cell size.
- screenWidth - Variable in class squidpony.squidgrid.gui.gdx.ScreenSizeManager
-
The screen's width, as given at creation time.
- scroll(float) - Method in class squidpony.squidgrid.gui.gdx.TextPanel
-
Scrolls the scroll pane this holds down by some number of rows (which may be fractional, and may be negative to scroll up).
- scrolled(int) - Method in class squidpony.squidgrid.gui.gdx.SquidInput
- scrolled(int) - Method in class squidpony.squidgrid.gui.gdx.SquidKey
- scrolled(int) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- scrollPane - Variable in class squidpony.squidgrid.gui.gdx.TextPanel
- scrollToEdge(boolean) - Method in class squidpony.squidgrid.gui.gdx.TextPanel
-
If the parameter is true, scrolls to the top of this scroll pane; otherwise scrolls to the bottom.
- SEA_GREEN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sea Green" has RGB code
0x2E8B57
, red 0.18039216, green 0.54509807, blue 0.34117648, alpha 1, hue 0.40681005, saturation 0.66906476, and value 0.54509807. - SEASHELL - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Seashell" has RGB code
0xFFF5EE
, red 1.0, green 0.9607843, blue 0.93333334, alpha 1, hue 0.068627596, saturation 0.06666666, and value 1.0. - SeasonalForest - Static variable in class squidpony.squidgrid.gui.gdx.WorldMapView
- seasonalForestColor - Static variable in class squidpony.squidgrid.gui.gdx.WorldMapView
- SELECTIVE_YELLOW - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Selective Yellow" has RGB code
0xFFBA00
, red 1.0, green 0.7294118, blue 0.0, alpha 1, hue 0.12156868, saturation 1.0, and value 1.0. - SEN_NO_RIKYUS_TEA - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sen No Rikyu's Tea" has RGB code
0x826B58
, red 0.50980395, green 0.41960785, blue 0.34509805, alpha 1, hue 0.075396895, saturation 0.32307693, and value 0.50980395. - SEN_NO_RIYUS_TEA - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
Deprecated.This color name was misspelled; prefer
SColor.SEN_NO_RIKYUS_TEA
- SEPIA - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sepia" has RGB code
0x704214
, red 0.4392157, green 0.25882354, blue 0.078431375, alpha 1, hue 0.083333254, saturation 0.8214286, and value 0.4392157. - serializeToString() - Method in class squidpony.squidgrid.gui.gdx.Radiance
- setAllSwaps(OrderedMap<Character, Character>) - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory
-
Sets the mapping of replacement pairs to a different one as a Map of Character keys to String values.
- setAnimationDuration(float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- setBackgroundLayer(SquidPanel) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the background panel to match the given SquidPanel (it can also be a subclass of SquidPanel, a likely use).
- setBackgrounds(float[][]) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Changes the reference this uses for the float array for background colors; this will not accept null parameters, nor will it accept any 2D array with dimensions that do not match the (unchanging) gridWidth and gridHeight of this SparseLayers.
- setBGColorCenter(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the IColorCenter used by the background layer.
- setBiomeMapper(WorldMapGenerator.DetailedBiomeMapper) - Method in class squidpony.squidgrid.gui.gdx.WorldMapView
- setBlendFunction(int, int) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setBlendFunctionSeparate(int, int, int, int) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setBounds(float, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidMessageBox
-
Set the x, y position of the lower left corner, plus set the width and height.
- setCellHeight(float) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- setCellWidth(float) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- setColor(float) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setColor(float, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setColor(Color) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setColor(Color) - Method in class squidpony.squidgrid.gui.gdx.PackedColorAction
-
Sets the color to modify.
- setColorCenter(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Use this method if you use your own
IColorCenter
and want this panel not to allocate its own colors (or fillDefaultResources.getSCC()
but instead to the provided center. - setColorCenter(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Method to change the backing
IColorCenter
. - setColorCenter(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Use this method if you use your own
IColorCenter
and want this panel not to allocate its own colors (or fillDefaultResources.getSCC()
but instead to the provided center. - setColorCenter(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory
- setColors(Color...) - Method in class squidpony.squidgrid.gui.gdx.ColorChangeImage
-
Sets the list of colors this uses to choose what color it draws with.
- setColors(Color...) - Method in class squidpony.squidgrid.gui.gdx.ColorChangeLabel
-
Sets the list of colors this uses to choose what color it draws with.
- setColors(Collection<Color>) - Method in class squidpony.squidgrid.gui.gdx.ColorChangeLabel
-
Sets the list of colors this uses to choose what color it draws with.
- setColors(List<Color>) - Method in class squidpony.squidgrid.gui.gdx.ColorChangeImage
-
Sets the list of colors this uses to choose what color it draws with.
- setDefaultBackground(Color) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Sets the default background color.
- setDefaultForeground(Color) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
- setDefaultForeground(Color) - Method in interface squidpony.squidgrid.gui.gdx.IPackedColorPanel
-
Sets the default foreground color.
- setDefaultForeground(Color) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Sets the default foreground color.
- setDefaultForeground(Color) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
- setDirection(Direction) - Method in class squidpony.squidgrid.gui.gdx.AnimatedEntity
-
Rotates this so that "up" points in the specified direction.
- setDirectionGlyph(char) - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory
- setEndColor(float) - Method in class squidpony.squidgrid.gui.gdx.PackedColorAction
-
Sets the color to transition to.
- setExtraPanel(SquidPanel, int) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets an extra panel to match the given SquidPanel (it can also be a subclass of SquidPanel, a likely use).
- setFGColorCenter(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the IColorCenter used by the foreground layer.
- setFilter(FloatFilter) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setFont(BitmapFont) - Method in class squidpony.squidgrid.gui.gdx.TextPanel
-
Sets the font to use.
- setFont(TextCellFactory) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Sets the TextCellFactory this uses to draw and size its text items and cells.
- setFont(TextCellFactory) - Method in class squidpony.squidgrid.gui.gdx.TextPanel
-
Sets the font to use.
- setForegroundLayer(SquidPanel) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the foreground panel to match the given SquidPanel (it can also be a subclass of SquidPanel, a likely use).
- setFromSnapshot(String) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Given a "snapshot" from
ImageSquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this ImageSquidPanel from 0,0 (inclusive) up to the dimensions stored in the snapshot to match the snapshot's data. - setFromSnapshot(String) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Given a "snapshot" from
SquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this SquidPanel from 0,0 (inclusive) up to the dimensions stored in the snapshot to match the snapshot's data. - setFromSnapshot(StringBuilder) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Given a "snapshot" from
ImageSquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this ImageSquidPanel from 0,0 (inclusive) up to the dimensions stored in the snapshot to match the snapshot's data. - setFromSnapshot(StringBuilder) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Given a "snapshot" from
SquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this SquidPanel from 0,0 (inclusive) up to the dimensions stored in the snapshot to match the snapshot's data. - setFromSnapshot(StringBuilder, int, int) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Given a "snapshot" from
ImageSquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this ImageSquidPanel from the position given by putX,putY (inclusive) up to the dimensions stored in the snapshot (considering putX and putY as offsets) so they have the values stored in the snapshot. - setFromSnapshot(StringBuilder, int, int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Given a "snapshot" from
SquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this SquidPanel from the position given by putX,putY (inclusive) up to the dimensions stored in the snapshot (considering putX and putY as offsets) so they have the values stored in the snapshot. - setFromSnapshot(StringBuilder, int, int, int, int) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Given a "snapshot" from
ImageSquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this ImageSquidPanel from the position given by putX,putY (inclusive) to putX+limitWidth,putY+limitHeight (exclusive) so they have the values stored in the snapshot. - setFromSnapshot(StringBuilder, int, int, int, int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Given a "snapshot" from
SquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this SquidPanel from the position given by putX,putY (inclusive) to putX+limitWidth,putY+limitHeight (exclusive) so they have the values stored in the snapshot. - setFromSnapshot(String, int, int) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Given a "snapshot" from
ImageSquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this ImageSquidPanel from the position given by putX,putY (inclusive) up to the dimensions stored in the snapshot (considering putX and putY as offsets) so they have the values stored in the snapshot. - setFromSnapshot(String, int, int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Given a "snapshot" from
SquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this SquidPanel from the position given by putX,putY (inclusive) up to the dimensions stored in the snapshot (considering putX and putY as offsets) so they have the values stored in the snapshot. - setFromSnapshot(String, int, int, int, int) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Given a "snapshot" from
ImageSquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this ImageSquidPanel from the position given by putX,putY (inclusive) to putX+limitWidth,putY+limitHeight (exclusive) so they have the values stored in the snapshot. - setFromSnapshot(String, int, int, int, int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Given a "snapshot" from
SquidPanel.getSnapshot(int, int, int, int)
, this assigns the chars and colors in this SquidPanel from the position given by putX,putY (inclusive) to putX+limitWidth,putY+limitHeight (exclusive) so they have the values stored in the snapshot. - setGranularity(int) - Method in class squidpony.squidgrid.gui.gdx.SquidColorCenter
-
Sets the granularity, which is how different requested colors must be to make a new color; from 0 to at most 6.
- setGridHeight(float) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- setGridHeight(int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the number of cells along the y-axis that will be rendered of this panel to gridHeight.
- setGridOffsetX(int) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- setGridOffsetX(int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the X offset that the whole panel's internals will be rendered at.
- setGridOffsetY(int) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- setGridOffsetY(int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the Y offset that the whole panel's internals will be rendered at.
- setGridWidth(float) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- setGridWidth(int) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the number of cells along the x-axis that will be rendered of this panel to gridWidth.
- setIgnoreInput(boolean) - Method in class squidpony.squidgrid.gui.gdx.SquidInput
-
Set the status for whether this should ignore input right now or not.
- setIgnoreInput(boolean) - Method in class squidpony.squidgrid.gui.gdx.SquidKey
-
Set the status for whether this should ignore input right now or not.
- setImageSwap(char, TextureRegion) - Method in class squidpony.squidgrid.gui.gdx.ImageSquidPanel
-
Makes it so when the char swapOut would be drawn, the TextureRegion swapIn is drawn instead.
- setKeyHandler(SquidInput.KeyHandler) - Method in class squidpony.squidgrid.gui.gdx.SquidInput
- setLayer(int, SparseTextMap) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Sets the SparseTextMap associated with the given layerNumber to the given contents.
- setLightingColor(Color) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- setLightingColor(Color) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
- setLightnesses(int[][]) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the lightness modifiers used for background cells with the int[][] passed as lightnesses.
- setMouse(SquidMouse) - Method in class squidpony.squidgrid.gui.gdx.SquidInput
- setName(String) - Method in class squidpony.squidgrid.gui.gdx.ICellVisible.Named
- setOffsets(float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- setOffsets(float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
- setOffsetX(float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
- setOffsetX(int) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- setOffsetY(float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
- setOffsetY(int) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
- setOnlyRenderEven(boolean) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the status of a boolean flag used for rendering thin maps; it should almost always be the default, which is false, unless you are using a thin-wall map, and then this should be true only if this SquidPanel is used for the background layer.
- setPackedColor(float) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setPackedColor(float) - Method in class squidpony.squidgrid.gui.gdx.ICellVisible.Basic
- setPackedColor(float) - Method in class squidpony.squidgrid.gui.gdx.ICellVisible.Named
- setPackedColor(float) - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory.Glyph
-
Sets the color of this Glyph with the given packed float color; does not allocate any objects.
- setPosition(float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the position of the actor's bottom left corner.
- setPosition(float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the position of the actor's bottom left corner.
- setProcessor(InputProcessor) - Method in class squidpony.squidgrid.gui.gdx.SquidKey
-
Sets the InputProcessor that this object will use to make sense of Key events.
- setProcessor(InputProcessor) - Method in class squidpony.squidgrid.gui.gdx.SquidMouse
-
Sets the InputProcessor this object uses to handle mouse input.
- setProjectionMatrix(Matrix4) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setRepeatGap(long) - Method in class squidpony.squidgrid.gui.gdx.SquidInput
-
Sets the amount of milliseconds of holding a key this requires to count as a key repeat.
- setScc(IColorCenter<Color>) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Sets the IColorCenter for Color objects that this uses to cache and modify Colors given to it; does not accept null parameters.
- setShader(ShaderProgram) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setSmoothingMultiplier(float) - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory
-
If this uses a distance field font, the smoothing multiplier affects how crisp or blurry lines are, with higher numbers generally resulting in more crisp fonts, but numbers that are too high cause jagged aliasing.
- setStyle(int) - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory
-
Not implemented in this class; in subclasses that do, this should change the currently-used font style, such as from regular to italic or bold.
- setSymbol(char) - Method in class squidpony.squidgrid.gui.gdx.ICellVisible.Basic
- setSymbol(char) - Method in class squidpony.squidgrid.gui.gdx.ICellVisible.Named
- setText(String) - Method in class squidpony.squidgrid.gui.gdx.AnimatedEntity
- setTextSize(float, float) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Changes the width and height of chars the font renders, inside the same cell size.
- setTextSize(float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the size of the text in all layers (but not the size of the cells) to the given width and height in pixels (which may be stretched by viewports later on, if your program uses them).
- setTextSize(float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Sets the size of the text in this SquidPanel (but not the size of the cells) to the given width and height in pixels (which may be stretched by viewports later on, if your program uses them).
- setTextSize(int, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
-
Sets the size of the text in the given layer (but not the size of the cells) to the given width and height in pixels (which may be stretched by viewports later on, if your program uses them).
- setTransformMatrix(Matrix4) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- setUsingNumpadDirections(boolean) - Method in class squidpony.squidgrid.gui.gdx.SquidInput
- setWildMap(WildMap) - Method in class squidpony.squidgrid.gui.gdx.WildMapView
- setWorld(WorldMapGenerator) - Method in class squidpony.squidgrid.gui.gdx.WorldMapView
- sevenTwelveName - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- sevenTwelveTexture - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- shader - Variable in class squidpony.squidgrid.gui.gdx.TextCellFactory
-
For distance field and MSDF fonts, this is the ShaderProgram that will produce the intended effect.
- Shallow - Static variable in class squidpony.squidgrid.gui.gdx.WorldMapView
- shallowColor - Static variable in class squidpony.squidgrid.gui.gdx.WorldMapView
- SHAMROCK_GREEN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Shamrock Green" has RGB code
0x009E60
, red 0.0, green 0.61960787, blue 0.3764706, alpha 1, hue 0.43459916, saturation 1.0, and value 0.61960787. - SHOCKING_PINK - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Shocking Pink" has RGB code
0xFC0FC0
, red 0.9882353, green 0.05882353, blue 0.7529412, alpha 1, hue 0.87552744, saturation 0.9404762, and value 0.9882353. - show() - Method in class squidpony.squidgrid.gui.gdx.VisualInput
- show() - Method in class squidpony.squidgrid.gui.gdx.WorldMapView
- show(SparseLayers) - Method in class squidpony.squidgrid.gui.gdx.WildMapView
- shown - Variable in class squidpony.squidgrid.gui.gdx.PanelEffect.ProjectileEffect
-
The char to show at each stage of the projectile's path; defaults to a Unicode bullet symbol, '·'.
- shown - Variable in class squidpony.squidgrid.gui.gdx.TextCellFactory.Glyph
-
The char that will be shown for this Glyph.
- SHRIMP_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Shrimp Brown" has RGB code
0x5E2824
, red 0.36862746, green 0.15686275, blue 0.14117648, alpha 1, hue 0.011494398, saturation 0.61702126, and value 0.36862746. - shrink(int) - Method in class squidpony.squidgrid.gui.gdx.SparseTextMap
-
Reduces the size of the backing arrays to be the specified capacity or less.
- ShrinkPartViewport - Class in squidpony.squidgrid.gui.gdx
-
A viewport that scales the world using
Scaling.stretch
on a sub-region of the screen. - ShrinkPartViewport(float, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.ShrinkPartViewport
-
Creates a new viewport using a new
OrthographicCamera
. - ShrinkPartViewport(float, float, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.ShrinkPartViewport
- ShrinkPartViewport(float, float, float, float, Camera) - Constructor for class squidpony.squidgrid.gui.gdx.ShrinkPartViewport
- ShrinkPartViewport(float, float, float, Camera) - Constructor for class squidpony.squidgrid.gui.gdx.ShrinkPartViewport
- SILK_CREPE_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Silk Crepe Brown" has RGB code
0x354E4B
, red 0.20784314, green 0.30588236, blue 0.29411766, alpha 1, hue 0.48000002, saturation 0.32051283, and value 0.30588236. - SILVER - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Silver" has RGB code
0xC0C0C0
, red 0.7529412, green 0.7529412, blue 0.7529412, alpha 1, hue 0.0, saturation 0.0, and value 0.7529412. - SILVER_GREY - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Silver Grey" has RGB code
0x97867C
, red 0.5921569, green 0.5254902, blue 0.4862745, alpha 1, hue 0.061728477, saturation 0.17880797, and value 0.5921569. - SILVERED_RED - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Silvered Red" has RGB code
0xBC2D29
, red 0.7372549, green 0.1764706, blue 0.16078432, alpha 1, hue 0.004535198, saturation 0.7819149, and value 0.7372549. - SIMMERED_SEAWEED - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Simmered Seawead" has RGB code
0x4C3D30
, red 0.29803923, green 0.23921569, blue 0.1882353, alpha 1, hue 0.077380896, saturation 0.36842108, and value 0.29803923. - SISKIN_SPROUT_YELLOW - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Siskin Sprout Yellow" has RGB code
0x7A942E
, red 0.47843137, green 0.5803922, blue 0.18039216, alpha 1, hue 0.20915043, saturation 0.6891892, and value 0.5803922. - size - Variable in class squidpony.squidgrid.gui.gdx.SparseTextMap
- SKY - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sky" has RGB code
0x4D8FAC
, red 0.3019608, green 0.56078434, blue 0.6745098, alpha 1, hue 0.55087745, saturation 0.5523256, and value 0.6745098. - SKY_BLUE - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sky Blue" has RGB code
0x87CEEB
, red 0.5294118, green 0.80784315, blue 0.92156863, alpha 1, hue 0.5483334, saturation 0.4255319, and value 0.92156863. - SLATE_GRAY - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Slate Gray" has RGB code
0x708090
, red 0.4392157, green 0.5019608, blue 0.5647059, alpha 1, hue 0.58333325, saturation 0.22222225, and value 0.5647059. - slide(float, TextCellFactory.Glyph, int, int, int, int, float, Runnable) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Slides
glyph
from(xstartX,startY)
to(newx, newy)
after waitingdelay
seconds. - slide(int, int, int, int) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- slide(int, int, int, int, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Start a movement animation for the object at the grid location x, y and moves it to newX, newY over a number of seconds given by duration (often 0.12f or somewhere around there).
- slide(int, int, int, int, int, float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- slide(int, int, String, Color, int, int, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Slides
name
from(x,y)
to(newx, newy)
. - slide(int, int, String, Color, int, int, float, Runnable) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Slides
name
from(x,y)
to(newx, newy)
. - slide(AnimatedEntity, int, int) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- slide(AnimatedEntity, int, int, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Start a movement animation for the object at the grid location x, y and moves it to newX, newY over a number of seconds given by duration (often 0.12f or somewhere around there).
- slide(AnimatedEntity, int, int, int, float) - Method in class squidpony.squidgrid.gui.gdx.SquidLayers
- slide(TextCellFactory.Glyph, int, int, int, int, float, Runnable) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Slides
glyph
from(xstartX,startY)
to(newx, newy)
. - slide(Coord, Direction) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Starts a movement animation for the object at the given grid location at the default speed for one grid square in the direction provided.
- slide(Coord, Coord) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Starts a movement animation for the object at the given grid location at the default speed.
- slide(Coord, Coord, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Starts a sliding movement animation for the object at the given location at the provided speed.
- SMALT - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Smalt" has RGB code
0x003399
, red 0.0, green 0.2, blue 0.6, alpha 1, hue 0.6111113, saturation 1.0, and value 0.6. - smoothingMultiplier - Variable in class squidpony.squidgrid.gui.gdx.TextCellFactory
- smoothName - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- smoothNameLarge - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- smoothSquareName - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- smoothSquareTexture - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- smoothTexture - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- smoothTextureLarge - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- SOOTY_BAMBOO - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sooty Bamboo" has RGB code
0x593A27
, red 0.34901962, green 0.22745098, blue 0.15294118, alpha 1, hue 0.06333339, saturation 0.56179774, and value 0.34901962. - SOOTY_WILLOW_BAMBOO - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sooty Willow Bamboo" has RGB code
0x4D4B3A
, red 0.3019608, green 0.29411766, blue 0.22745098, alpha 1, hue 0.14912295, saturation 0.24675328, and value 0.3019608. - SPARROW_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sparrow Brown" has RGB code
0x8C4736
, red 0.54901963, green 0.2784314, blue 0.21176471, alpha 1, hue 0.03294587, saturation 0.61428577, and value 0.54901963. - SparseLayers - Class in squidpony.squidgrid.gui.gdx
-
A general-purpose char display grid that supports one layer of backgrounds and arbitrarily many layers of foreground, only rendering foreground chars when something is present at a char's location.
- SparseLayers() - Constructor for class squidpony.squidgrid.gui.gdx.SparseLayers
- SparseLayers(int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SparseLayers
- SparseLayers(int, int, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.SparseLayers
- SparseLayers(int, int, float, float, TextCellFactory) - Constructor for class squidpony.squidgrid.gui.gdx.SparseLayers
- SparseLayers(int, int, float, float, TextCellFactory, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.SparseLayers
- SparseTextMap - Class in squidpony.squidgrid.gui.gdx
-
An unordered map where the keys are two positive ints up to 16 bits (x and y, between 0 and 65535) and there are multiple kinds of value per key, here just a char and a float for color.
- SparseTextMap() - Constructor for class squidpony.squidgrid.gui.gdx.SparseTextMap
-
Creates a new map with an initial capacity of 192 and a load factor of 0.75.
- SparseTextMap(int) - Constructor for class squidpony.squidgrid.gui.gdx.SparseTextMap
-
Creates a new map with a load factor of 0.75.
- SparseTextMap(int, float) - Constructor for class squidpony.squidgrid.gui.gdx.SparseTextMap
-
Creates a new map with the specified initial capacity and load factor.
- SparseTextMap(SparseTextMap) - Constructor for class squidpony.squidgrid.gui.gdx.SparseTextMap
-
Creates a new map identical to the specified map.
- SparseTextMap.CharValues - Class in squidpony.squidgrid.gui.gdx
- SparseTextMap.Entries - Class in squidpony.squidgrid.gui.gdx
- SparseTextMap.Entry - Class in squidpony.squidgrid.gui.gdx
- SparseTextMap.FloatValues - Class in squidpony.squidgrid.gui.gdx
- SparseTextMap.Keys - Class in squidpony.squidgrid.gui.gdx
- SPRING_BUD - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Spring Bud" has RGB code
0xA7FC00
, red 0.654902, green 0.9882353, blue 0.0, alpha 1, hue 0.2228837, saturation 1.0, and value 0.9882353. - SPRING_GREEN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Spring Green" has RGB code
0x00FF7F
, red 0.0, green 1.0, blue 0.49803922, alpha 1, hue 0.41633987, saturation 1.0, and value 1.0. - spv - Variable in class squidpony.squidgrid.gui.gdx.VisualInput
- SQUARE - squidpony.squidgrid.gui.gdx.UIUtil.CornerStyle
- squareName - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- squareNameLarge - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- squareTexture - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- squareTextureLarge - Static variable in class squidpony.squidgrid.gui.gdx.DefaultResources
- SQUID_FITTING - Static variable in class squidpony.squidgrid.gui.gdx.TextCellFactory
-
All symbols that squidlib-util permits itself to generate; this is a shared subset across most of the larger fonts in
DefaultResources
. - SquidColorCenter - Class in squidpony.squidgrid.gui.gdx
-
A concrete implementation of
IColorCenter
for libgdx'sColor
. - SquidColorCenter() - Constructor for class squidpony.squidgrid.gui.gdx.SquidColorCenter
-
A fresh filter-less color center.
- SquidColorCenter(IFilter<Color>) - Constructor for class squidpony.squidgrid.gui.gdx.SquidColorCenter
-
A fresh filtered color center.
- SquidInput - Class in squidpony.squidgrid.gui.gdx
-
This input processing class can handle mouse and keyboard input, using a squidpony.squidgrid.gui.gdx.SquidMouse for Mouse input and a user implementation of the SquidInput.KeyHandler interface to react to keys represented as chars and the modifiers those keys were pressed with, any of alt, ctrl, and/or shift.
- SquidInput() - Constructor for class squidpony.squidgrid.gui.gdx.SquidInput
-
Constructs a new SquidInput that does not respond to keyboard or mouse input.
- SquidInput(SquidInput.KeyHandler) - Constructor for class squidpony.squidgrid.gui.gdx.SquidInput
-
Constructs a new SquidInput that does not respond to mouse input, but does take keyboard input and sends keyboard events through some processing before calling keyHandler.handle() on keypresses that can sensibly be processed.
- SquidInput(SquidInput.KeyHandler, boolean) - Constructor for class squidpony.squidgrid.gui.gdx.SquidInput
-
Constructs a new SquidInput that does not respond to mouse input, but does take keyboard input and sends keyboard events through some processing before calling keyHandler.handle() on keypresses that can sensibly be processed.
- SquidInput(SquidInput.KeyHandler, SquidMouse) - Constructor for class squidpony.squidgrid.gui.gdx.SquidInput
-
Constructs a new SquidInput that responds to mouse and keyboard input when given a SquidMouse and a SquidInput.KeyHandler implementation.
- SquidInput(SquidInput.KeyHandler, SquidMouse, boolean) - Constructor for class squidpony.squidgrid.gui.gdx.SquidInput
-
Constructs a new SquidInput that responds to mouse and keyboard input when given a SquidMouse and a SquidInput.KeyHandler implementation, and can be put in an initial state where it ignores input until told otherwise via setIgnoreInput(boolean).
- SquidInput(SquidMouse) - Constructor for class squidpony.squidgrid.gui.gdx.SquidInput
-
Constructs a new SquidInput that does not respond to keyboard input, but does take mouse input and passes mouse events along to the given SquidMouse.
- SquidInput.KeyHandler - Interface in squidpony.squidgrid.gui.gdx
-
A single-method interface used to process "typed" characters, special characters produced by unusual keys, and modifiers that can affect them.
- SquidKey - Class in squidpony.squidgrid.gui.gdx
-
This wraps an InputProcessor, storing all key events and allowing them to be processed one at a time using next() or all at once using drain().
- SquidKey() - Constructor for class squidpony.squidgrid.gui.gdx.SquidKey
-
Constructs a SquidKey with no InputProcessor; for this to do anything, setProcessor() must be called.
- SquidKey(InputProcessor) - Constructor for class squidpony.squidgrid.gui.gdx.SquidKey
-
Constructs a SquidKey with the given InputProcessor.
- SquidKey(InputProcessor, boolean) - Constructor for class squidpony.squidgrid.gui.gdx.SquidKey
-
Constructs a SquidKey with the given InputProcessor.
- SquidLayers - Class in squidpony.squidgrid.gui.gdx
-
A helper class to make using multiple SquidPanels easier.
- SquidLayers() - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with a default stretchable font, 40 cells wide and 40 cells high, and 12x12 pixels for each cell.
- SquidLayers(int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with a default stretchable font, the given number of cells for gridWidth and gridHeight, and 12x12 pixels for each cell.
- SquidLayers(int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with a default stretchable font (it will adapt to the cellWidth and cellHeight you give it), the given number of cells for gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
- SquidLayers(int, int, int, int, BitmapFont) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given path to a BitmapFont file, the given number of cells for gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
- SquidLayers(int, int, int, int, BitmapFont, SquidColorCenter, SquidColorCenter) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given BitmapFont (already constructed), the given number of cells for gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
- SquidLayers(int, int, int, int, String) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given path to a BitmapFont file, the given number of cells for gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
- SquidLayers(int, int, int, int, String, SquidColorCenter, SquidColorCenter) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given path to a BitmapFont file, the given number of cells for gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
- SquidLayers(int, int, int, int, SquidColorCenter, SquidColorCenter) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with a default stretchable font (it will adapt to the cellWidth and cellHeight you give it), the given number of cells for gridWidth and gridHeight, the size in pixels for each cell given by cellWidth and cellHeight, and the given SquidColorCenter instances to affect colors.
- SquidLayers(int, int, int, int, TextCellFactory) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given path pre-constructed TextCellFactory, the given number of cells for gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
- SquidLayers(int, int, int, int, TextCellFactory, SquidColorCenter, SquidColorCenter) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given TextCellFactory, the given number of cells for gridWidth and gridHeight, the size in pixels for each cell given by cellWidth and cellHeight, and the given SquidColorCenters for background and foreground.
- SquidLayers(int, int, int, int, TextCellFactory, SquidColorCenter, SquidColorCenter, char[][]) - Constructor for class squidpony.squidgrid.gui.gdx.SquidLayers
-
Create a new SquidLayers widget with the given TextCellFactory, the given number of cells for gridWidth and gridHeight, the size in pixels for each cell given by cellWidth and cellHeight, the given SquidColorCenters for background and foreground, and the given 2D char array for an area map that may be sized differently than gridWidth by gridHeight (it is usually larger than gridWidth by gridHeight, which allows camera scrolling across the map).
- SquidMessageBox - Class in squidpony.squidgrid.gui.gdx
-
A specialized SquidPanel that is meant for displaying messages in a scrolling pane.
- SquidMessageBox(int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SquidMessageBox
-
Creates a bare-bones panel with all default values for text rendering.
- SquidMessageBox(int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SquidMessageBox
-
Creates a panel with the given grid and cell size.
- SquidMessageBox(int, int, TextCellFactory) - Constructor for class squidpony.squidgrid.gui.gdx.SquidMessageBox
-
Builds a panel with the given grid size and all other parameters determined by the factory.
- SquidMessageBox(int, int, TextCellFactory, IColorCenter<Color>) - Constructor for class squidpony.squidgrid.gui.gdx.SquidMessageBox
-
Builds a panel with the given grid size and all other parameters determined by the factory.
- SquidMouse - Class in squidpony.squidgrid.gui.gdx
-
This mouse processor allows for easy conversion to a grid based system.
- SquidMouse(float, float, float, float, int, int, InputProcessor) - Constructor for class squidpony.squidgrid.gui.gdx.SquidMouse
-
Sets the size of the cell so that all mouse input can be evaluated as relative to the grid.
- SquidMouse(float, float, InputProcessor) - Constructor for class squidpony.squidgrid.gui.gdx.SquidMouse
-
Sets the size of the cell so that all mouse input can be evaluated as relative to the grid.
- SquidPanel - Class in squidpony.squidgrid.gui.gdx
-
Displays text and images in a grid pattern.
- SquidPanel(int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SquidPanel
-
Creates a bare-bones panel with all default values for text rendering.
- SquidPanel(int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SquidPanel
-
Creates a panel with the given grid and cell size.
- SquidPanel(int, int, TextCellFactory) - Constructor for class squidpony.squidgrid.gui.gdx.SquidPanel
-
Builds a panel with the given grid size and all other parameters determined by the factory.
- SquidPanel(int, int, TextCellFactory, IColorCenter<Color>) - Constructor for class squidpony.squidgrid.gui.gdx.SquidPanel
-
Builds a panel with the given grid size and all other parameters determined by the factory.
- SquidPanel(int, int, TextCellFactory, IColorCenter<Color>, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.SquidPanel
-
Builds a panel with the given grid size and all other parameters determined by the factory.
- SquidPanel(int, int, TextCellFactory, IColorCenter<Color>, float, float, char[][]) - Constructor for class squidpony.squidgrid.gui.gdx.SquidPanel
-
Builds a panel with the given grid size and all other parameters determined by the factory.
- squidpony.squidgrid.gui.gdx - package squidpony.squidgrid.gui.gdx
-
All the LibGDX-based display code (primarily meant for text grids) is in this package.
- stage - Variable in class squidpony.squidgrid.gui.gdx.StarterKit
-
All visible parts of this class are in the Stage, and if you add additional widget or scene2d.ui Actor values to your game, they should probably be added to this Stage.
- stage - Variable in class squidpony.squidgrid.gui.gdx.VisualInput
- STAINED_RED - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Stained Red" has RGB code
0x78779B
, red 0.47058824, green 0.46666667, blue 0.60784316, alpha 1, hue 0.67129636, saturation 0.2322581, and value 0.60784316. - StarterKit - Class in squidpony.squidgrid.gui.gdx
-
A convenience class that groups several commonly-used GUI classes into one object and provides ways to initialize these kits for specific purposes, some of which would be a challenge to write without this code.
- StarterKit(int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.StarterKit
-
Constructs a StarterKit with the given width and height in cells (gridWidth and gridHeight) and the given width and height for each letter (cellWidth and cellHeight), using a default font that is about half as wide as it is tall but can stretch to other aspect ratios.
- StarterKit(TextCellFactory, int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.StarterKit
-
Constructs a StarterKit with the given width and height in cells (gridWidth and gridHeight) and the given width and height for each letter (cellWidth and cellHeight), using the given TextCellFactory for the font.
- StarterKit(TextCellFactory, int, int, int, int, int, int) - Constructor for class squidpony.squidgrid.gui.gdx.StarterKit
-
Constructs a StarterKit with the given width and height in cells (gridWidth and gridHeight) and the given width and height for each letter (cellWidth and cellHeight), using the given TextCellFactory for the font; this overload also allows specifying additional space in pixels to be added to the right or bottom sides of the area with the grid of chars.
- startPoint - Variable in class squidpony.squidgrid.gui.gdx.PanelEffect.ProjectileEffect
-
Normally you should set this in the constructor, and not change it later.
- state - Variable in class squidpony.squidgrid.gui.gdx.Filters.MaxValueFilter
- state - Variable in class squidpony.squidgrid.gui.gdx.Filters.MultiLerpFilter
- SteadyProjectileEffect(IPackedColorPanel, float, Coord, Coord) - Constructor for class squidpony.squidgrid.gui.gdx.PanelEffect.SteadyProjectileEffect
-
Constructs a SteadyProjectileEffect with explicit settings for some fields.
- SteadyProjectileEffect(IPackedColorPanel, float, GreasedRegion, Coord, Coord) - Constructor for class squidpony.squidgrid.gui.gdx.PanelEffect.SteadyProjectileEffect
-
Constructs a SteadyProjectileEffect with explicit settings for most fields.
- SteadyProjectileEffect(IPackedColorPanel, float, GreasedRegion, Coord, Coord, char, float) - Constructor for class squidpony.squidgrid.gui.gdx.PanelEffect.SteadyProjectileEffect
-
Constructs a SteadyProjectileEffect with explicit settings for most fields but also an alternate Color object for the projectile instead of the default white color.
- SteadyProjectileEffect(IPackedColorPanel, float, GreasedRegion, Coord, Coord, char, Color) - Constructor for class squidpony.squidgrid.gui.gdx.PanelEffect.SteadyProjectileEffect
-
Constructs a SteadyProjectileEffect with explicit settings for most fields but also an alternate Color object for the projectile instead of the default white color.
- SteadyProjectileEffect(IPackedColorPanel, Coord, Coord) - Constructor for class squidpony.squidgrid.gui.gdx.PanelEffect.SteadyProjectileEffect
-
Constructs a SteadyProjectileEffect with explicit settings for some fields.
- STEAMED_CHESTNUT - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Steamed Chestnut" has RGB code
0xD3B17D
, red 0.827451, green 0.69411767, blue 0.49019608, alpha 1, hue 0.10077524, saturation 0.40758294, and value 0.827451. - STEEL_BLUE - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Steel Blue" has RGB code
0x4682B4
, red 0.27450982, green 0.50980395, blue 0.7058824, alpha 1, hue 0.5757575, saturation 0.6111111, and value 0.7058824. - STOREROOM_BROWN - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Storeroom Brown" has RGB code
0x3D4035
, red 0.23921569, green 0.2509804, blue 0.20784314, alpha 1, hue 0.21212137, saturation 0.17187504, and value 0.2509804. - strobe - Variable in class squidpony.squidgrid.gui.gdx.Radiance
-
The rate of non-random continuous change to radiance range, like a mechanical strobe effect.
- style - Variable in class squidpony.squidgrid.gui.gdx.TextCellFactory
- styleChar(char, boolean, boolean) - Method in class squidpony.squidgrid.gui.gdx.GDXMarkup
-
Directly styles one char value, toggling its bold state if
bold
is true, and toggling its italic state ifitalic
is true. - styleString(CharSequence) - Method in class squidpony.squidgrid.gui.gdx.GDXMarkup
-
Similar to
GDXMarkup.colorString(CharSequence)
, but leaves color tags as they are and only uses case and style tags, like[*]
for bold,[/]
for italic,[!]
for ALL CAPS and[=]
for lower-case. - STYLISH_PERSIMMON - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Stylish Persimnmon" has RGB code
0xFFA26B
, red 1.0, green 0.63529414, blue 0.41960785, alpha 1, hue 0.061937094, saturation 0.5803921, and value 1.0. - SubcellLayers - Class in squidpony.squidgrid.gui.gdx
-
A subclass of SparseLayers that acts almost the same, but uses 3x3 subcells of background color for every cell that may contain a char.
- SubcellLayers(int, int) - Constructor for class squidpony.squidgrid.gui.gdx.SubcellLayers
- SubcellLayers(int, int, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.SubcellLayers
- SubcellLayers(int, int, float, float, TextCellFactory) - Constructor for class squidpony.squidgrid.gui.gdx.SubcellLayers
- SubcellLayers(int, int, float, float, TextCellFactory, float, float) - Constructor for class squidpony.squidgrid.gui.gdx.SubcellLayers
- SUMAC - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sumac" has RGB code
0x592B1F
, red 0.34901962, green 0.16862746, blue 0.12156863, alpha 1, hue 0.034482718, saturation 0.6516854, and value 0.34901962. - SUMAC_DYED - Static variable in class squidpony.squidgrid.gui.gdx.SColor
-
This color constant "Sumac Dyed" has RGB code
0xE08A1E
, red 0.8784314, green 0.5411765, blue 0.11764706, alpha 1, hue 0.09278357, saturation 0.86607146, and value 0.8784314. - summon(float, float, float, float, char, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Create a new Glyph at (startX, startY) in world coordinates (often pixels on the screen) using the char shown with the given startColor, and immediately starts changing color to endColor, changing position so it ends at the world coordinates (endX, endY), taking duration seconds to complete before removing the Glyph.
- summon(float, float, float, float, float, char, float, float, float, Runnable) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Create a new Glyph at (startX, startY) in world coordinates (often pixels on the screen) using the char shown with the given startColor, and after delay seconds, starts changing color to endColor, changing position so it ends at the world coordinates (endX, endY), taking duration seconds to complete before running postRunnable (if it is non-null) and finally removing the Glyph.
- summon(float, int, int, int, int, char, float, float, float, Runnable) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Create a new Glyph at (startX, startY) using the char shown with the given startColor, and after delay seconds, starts changing color to endColor, changing position so it ends on the cell (endX, endY), taking duration seconds to complete before running postRunnable (if it is non-null) and finally removing the Glyph.
- summon(float, int, int, int, int, char, Color, Color, boolean, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Create a new Actor at (startX, startY) that looks like glyph but can rotate, and immediately starts changing color from startColor to endColor, changing position so it ends on the cell (endX, endY), and changing rotation from startRotation to endRotation, taking duration seconds to complete before removing the Actor.
- summon(int, int, char, Color, Color, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Create a new Actor at (x, y) that looks like glyph but can rotate, and immediately starts changing color from startColor to endColor and changing rotation from startRotation to endRotation, taking duration seconds to complete before removing the Actor.
- summon(int, int, int, int, char, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SparseLayers
-
Create a new Glyph at (startX, startY) using the char shown with the given startColor, and immediately starts changing color to endColor, changing position so it ends on the cell (endX, endY), taking duration seconds to complete before removing the Glyph.
- summon(int, int, int, int, char, Color, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Create a new Actor at (startX, startY) that looks like glyph but can rotate, sets its color, and immediately starts changing position so it ends on the cell (endX, endY) and changing rotation from startRotation to endRotation, taking duration seconds to complete before removing the Actor.
- summon(int, int, int, int, char, Color, Color, boolean, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Create a new Actor at (startX, startY) that looks like glyph but can rotate, and immediately starts changing color from startColor to endColor, changing position so it ends on the cell (endX, endY), and changing rotation from startRotation to endRotation, taking duration seconds to complete before removing the Actor.
- summon(int, int, int, int, char, Color, Color, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Create a new Actor at (startX, startY) that looks like glyph but has the given rotation, and immediately starts changing color from startColor to endColor, and changing position so it ends on the cell (endX, endY), taking duration seconds to complete before removing the Actor.
- summon(int, int, int, int, char, Color, Color, float, float, float) - Method in class squidpony.squidgrid.gui.gdx.SquidPanel
-
Create a new Actor at (startX, startY) that looks like glyph but can rotate, and immediately starts changing color from startColor to endColor, changing position so it ends on the cell (endX, endY), and changing rotation from startRotation to endRotation, taking duration seconds to complete before removing the Actor.
- supportedStyles() - Method in class squidpony.squidgrid.gui.gdx.TextCellFactory
-
How many styles are supported by this TextCellFactory; always 1 unless changed in a subclass.
- supportedStyles() - Method in class squidpony.squidgrid.gui.gdx.TextFamily
-
How many styles are supported by this TextCellFactory; always 4 in TextFamily.
- swap - Variable in class squidpony.squidgrid.gui.gdx.TextCellFactory
- switchTexture(Texture) - Method in class squidpony.squidgrid.gui.gdx.FilterBatch
- symbol - Variable in class squidpony.squidgrid.gui.gdx.ICellVisible.Basic
All Classes|All Packages