Uses of Class
squidpony.squidgrid.gui.gdx.TextCellFactory.Glyph

  • Uses of TextCellFactory.Glyph in squidpony.squidgrid.gui.gdx

    Fields in squidpony.squidgrid.gui.gdx with type parameters of type TextCellFactory.Glyph 
    Modifier and Type Field Description
    ArrayList<TextCellFactory.Glyph> SparseLayers.glyphs
    A list of individually-movable Glyph objects.
    Methods in squidpony.squidgrid.gui.gdx that return TextCellFactory.Glyph 
    Modifier and Type Method Description
    TextCellFactory.Glyph SquidPanel.cellToActor​(int x, int y)
    Created an Actor from the contents of the given x,y position on the grid.
    TextCellFactory.Glyph SquidPanel.cellToActor​(int x, int y, boolean doubleWidth)
    Created an Actor from the contents of the given x,y position on the grid; deleting the grid's String content at this cell.
    protected TextCellFactory.Glyph SquidPanel.createActor​(int x, int y, char name, float encodedColor, boolean doubleWidth)  
    protected TextCellFactory.Glyph SquidPanel.createActor​(int x, int y, char name, com.badlogic.gdx.graphics.Color color, boolean doubleWidth)  
    TextCellFactory.Glyph SparseLayers.glyph​(char shown, float color, int x, int y)
    Produces a single char with a color, that can be positioned independently of the contents of this SparseLayers.
    TextCellFactory.Glyph SparseLayers.glyph​(char shown, com.badlogic.gdx.graphics.Color color, int x, int y)
    Produces a single char with a color, that can be positioned independently of the contents of this SparseLayers.
    TextCellFactory.Glyph TextCellFactory.glyph​(char shown, float encodedColor, float x, float y)
    Gets a Glyph with the given char to show, color as a packed float, and position as x and y in world coordinates.
    TextCellFactory.Glyph TextCellFactory.glyph​(char shown, com.badlogic.gdx.graphics.Color color, float x, float y)
    Gets a Glyph with the given char to show, libGDX Color, and position as x and y in world coordinates.
    TextCellFactory.Glyph SparseLayers.glyphFromGrid​(int x, int y)
    "Promotes" a colorful char in the first layer to a Glyph that can be positioned independently of the contents of this SparseLayers.
    TextCellFactory.Glyph SparseLayers.glyphFromGrid​(int x, int y, int layer)
    "Promotes" a colorful char in the given layer to a Glyph that can be positioned independently of the contents of this SparseLayers.
    Methods in squidpony.squidgrid.gui.gdx with parameters of type TextCellFactory.Glyph 
    Modifier and Type Method Description
    void SparseLayers.bump​(float delay, TextCellFactory.Glyph glyph, Direction direction, float duration, Runnable postRunnable)
    Start a bumping animation in the given direction after delay seconds, that will last duration seconds; runs postRunnable after the duration completes if postRunnable is non-null.
    void SparseLayers.bump​(TextCellFactory.Glyph glyph, Direction direction, float duration)
    Start a bumping animation in the given direction that will last duration seconds.
    void SquidPanel.recallActor​(TextCellFactory.Glyph a, boolean restoreSym, int nextX, int nextY)  
    void SparseLayers.recallToGrid​(TextCellFactory.Glyph glyph)
    Brings a Glyph back into normal rendering, removing it from the Glyphs this class knows about and filling the grid's char at the Glyph's position in the first layer with the Glyph's char and color.
    void SparseLayers.recallToGrid​(TextCellFactory.Glyph glyph, int layer)
    Brings a Glyph back into normal rendering, removing it from the Glyphs this class knows about and filling the grid's char at the Glyph's position in the given layer with the Glyph's char and color.
    void SparseLayers.removeGlyph​(TextCellFactory.Glyph glyph)
    A way to remove a Glyph from the group of glyphs this renders, while also ending any animations or other Actions that the removed Glyph was scheduled to perform.
    void SparseLayers.slide​(float delay, TextCellFactory.Glyph glyph, int startX, int startY, int newX, int newY, float duration, Runnable postRunnable)
    Slides glyph from (xstartX,startY) to (newx, newy) after waiting delay seconds.
    void SparseLayers.slide​(TextCellFactory.Glyph glyph, int startX, int startY, int newX, int newY, float duration, Runnable postRunnable)
    Slides glyph from (xstartX,startY) to (newx, newy).
    void SparseLayers.tint​(float delay, TextCellFactory.Glyph glyph, float encodedColor, float duration, Runnable postRunnable)
    Tints the given glyph (which may or may not be part of the SparseLayers.glyphs list this holds) so it becomes the given encodedColor, waiting for delay (in seconds) before performing it, then after the tint is complete it returns the cell to its original color, taking duration seconds.
    void SparseLayers.tint​(TextCellFactory.Glyph glyph, float encodedColor, float duration)
    Tints the given glyph (which may or may not be part of the SparseLayers.glyphs list this holds) so it becomes the given encodedColor, then after the tint is complete it returns the cell to its original color, taking duration seconds.
    void SparseLayers.wiggle​(float delay, TextCellFactory.Glyph glyph, float duration, Runnable postRunnable)
    Starts a wiggling animation for the object at the given location, after waiting delay seconds, for the given duration in seconds; runs postRunnable afterwards if it is non-null.
    void SparseLayers.wiggle​(TextCellFactory.Glyph glyph, float duration)
    Starts an wiggling animation for the object at the given location for the given duration in seconds.