Modifier and Type | Field and Description |
---|---|
squidpony.squidmath.OrderedSet<AnimatedEntity> |
SquidPanel.animatedEntities |
Modifier and Type | Method and Description |
---|---|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
boolean stretch,
com.badlogic.gdx.graphics.g2d.TextureRegion texture)
Create an AnimatedEntity at position x, y, using a TextureRegion with no color modifications, which, if and only
if stretch is true, will be stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
boolean stretch,
com.badlogic.gdx.graphics.g2d.TextureRegion texture)
Create an AnimatedEntity at position x, y, using a TextureRegion with no color modifications, which, if and only
if stretch is true, will be stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
boolean stretch,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which, if and only
if stretch is true, will be stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
boolean stretch,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which, if and only
if stretch is true, will be stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
char c,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors)
Create an AnimatedEntity at position x, y, using the char c in the given colors to cycle through.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
char c,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using the char c in the given colors to cycle through.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
char c,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the char c in the given color.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
char c,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the char c in the given color.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
java.lang.String s,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
java.lang.String s,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
java.lang.String s,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
java.lang.String s,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
java.lang.String s,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
java.lang.String s,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture)
Create an AnimatedEntity at position x, y, using a TextureRegion with no color modifications, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture)
Create an AnimatedEntity at position x, y, using a TextureRegion with no color modifications, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime,
java.lang.String name)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color,
java.lang.String name)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell, or two cells if doubleWidth is true.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
char c,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
boolean doubleWidth) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
char c,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime,
boolean doubleWidth) |
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the char c in the given color.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color color) |
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the char c in the given color.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color color,
boolean doubleWidth) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
char c,
com.badlogic.gdx.graphics.Color color,
int layer) |
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
char c,
int index,
java.util.ArrayList<com.badlogic.gdx.graphics.Color> palette)
Create an AnimatedEntity at position x, y, using the char c with a color looked up by index in palette.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
java.lang.String s,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
java.lang.String s,
com.badlogic.gdx.graphics.Color color) |
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
java.lang.String s,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using the String s in the given color.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
java.lang.String s,
com.badlogic.gdx.graphics.Color color,
boolean doubleWidth) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
java.lang.String s,
com.badlogic.gdx.graphics.Color color,
int layer) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
java.lang.String s,
com.badlogic.gdx.graphics.Color color,
int layer,
boolean doubleWidth) |
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
java.lang.String s,
int index,
java.util.ArrayList<com.badlogic.gdx.graphics.Color> palette)
Create an AnimatedEntity at position x, y, using the String s with a color looked up by index in palette.
|
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion texture)
Create an AnimatedEntity at position x, y, using a TextureRegion with no color modifications, which will be
stretched to fit one cell.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr) |
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion texture)
Create an AnimatedEntity at position x, y, using a TextureRegion with no color modifications, which will be
stretched to fit one cell.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
boolean doubleWidth) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
boolean doubleWidth,
boolean stretch) |
AnimatedEntity |
ImageSquidPanel.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
com.badlogic.gdx.graphics.Color color) |
AnimatedEntity |
SquidPanel.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.graphics.Color color)
Create an AnimatedEntity at position x, y, using a TextureRegion with the given color, which will be
stretched to fit one cell.
|
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
com.badlogic.gdx.graphics.Color color,
boolean doubleWidth) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
com.badlogic.gdx.graphics.Color color,
boolean doubleWidth,
boolean stretch) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
com.badlogic.gdx.graphics.Color color,
int layer) |
AnimatedEntity |
SquidLayers.animateActor(int x,
int y,
com.badlogic.gdx.graphics.g2d.TextureRegion tr,
com.badlogic.gdx.graphics.Color color,
int layer,
boolean doubleWidth,
boolean stretch) |
AnimatedEntity |
ImageSquidPanel.directionMarker(int x,
int y,
boolean doubleWidth,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using '^' as its contents, but as an image so it can be rotated.
|
AnimatedEntity |
SquidPanel.directionMarker(int x,
int y,
boolean doubleWidth,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime)
Create an AnimatedEntity at position x, y, using '^' as its contents, but as an image so it can be rotated.
|
AnimatedEntity |
ImageSquidPanel.directionMarker(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.Color color) |
AnimatedEntity |
SquidPanel.directionMarker(int x,
int y,
boolean doubleWidth,
com.badlogic.gdx.graphics.Color color) |
AnimatedEntity |
SquidLayers.directionMarker(int x,
int y,
java.util.Collection<com.badlogic.gdx.graphics.Color> colors,
float loopTime,
int layer,
boolean doubleWidth) |
AnimatedEntity |
SquidLayers.directionMarker(int x,
int y,
com.badlogic.gdx.graphics.Color color,
int layer,
boolean doubleWidth) |
AnimatedEntity |
ImageSquidPanel.getAnimatedEntityByCell(int x,
int y) |
AnimatedEntity |
SquidLayers.getAnimatedEntityByCell(int x,
int y) |
AnimatedEntity |
SquidPanel.getAnimatedEntityByCell(int x,
int y) |
AnimatedEntity |
SquidLayers.getAnimatedEntityByCell(int x,
int y,
int layer) |
Modifier and Type | Method and Description |
---|---|
squidpony.squidmath.OrderedSet<AnimatedEntity> |
SquidLayers.getAnimatedEntities() |
squidpony.squidmath.OrderedSet<AnimatedEntity> |
SquidPanel.getAnimatedEntities() |
squidpony.squidmath.OrderedSet<AnimatedEntity> |
SquidLayers.getAnimatedEntities(int layer) |
Modifier and Type | Method and Description |
---|---|
SquidLayers |
SquidLayers.bump(AnimatedEntity ae,
squidpony.squidgrid.Direction dir) |
void |
SquidPanel.bump(AnimatedEntity ae,
squidpony.squidgrid.Direction direction,
float duration)
Start a bumping animation in the given direction that will last duration seconds.
|
SquidLayers |
SquidLayers.bump(AnimatedEntity ae,
int layer,
squidpony.squidgrid.Direction dir,
float duration) |
void |
ImageSquidPanel.drawActor(com.badlogic.gdx.graphics.g2d.Batch batch,
float parentAlpha,
AnimatedEntity ae)
Draws one AnimatedEntity, specifically the Actor it contains.
|
void |
SquidLayers.drawActor(com.badlogic.gdx.graphics.g2d.Batch batch,
float parentAlpha,
AnimatedEntity ae) |
void |
SquidPanel.drawActor(com.badlogic.gdx.graphics.g2d.Batch batch,
float parentAlpha,
AnimatedEntity ae)
Draws one AnimatedEntity, specifically the Actor it contains.
|
void |
SquidLayers.drawActor(com.badlogic.gdx.graphics.g2d.Batch batch,
float parentAlpha,
AnimatedEntity ae,
int layer) |
void |
SquidPanel.fixPosition(AnimatedEntity ae) |
void |
SquidPanel.recallActor(AnimatedEntity ae) |
void |
SquidPanel.recallActor(AnimatedEntity ae,
int nextX,
int nextY) |
void |
SquidLayers.removeAnimatedEntity(AnimatedEntity ae) |
void |
SquidPanel.removeAnimatedEntity(AnimatedEntity ae) |
void |
SquidLayers.removeAnimatedEntity(AnimatedEntity ae,
int layer) |
SquidLayers |
SquidLayers.slide(AnimatedEntity ae,
int endX,
int endY) |
void |
SquidPanel.slide(AnimatedEntity ae,
int newX,
int newY,
float duration)
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).
|
SquidLayers |
SquidLayers.slide(AnimatedEntity ae,
int endX,
int endY,
int layer,
float duration) |
SquidLayers |
SquidLayers.tint(AnimatedEntity ae,
com.badlogic.gdx.graphics.Color color) |
void |
SquidPanel.tint(AnimatedEntity ae,
com.badlogic.gdx.graphics.Color color,
float duration)
Starts a tint animation for
ae for the given duration in seconds. |
SquidLayers |
SquidLayers.tint(AnimatedEntity ae,
com.badlogic.gdx.graphics.Color color,
int layer,
float duration) |
SquidLayers |
SquidLayers.wiggle(AnimatedEntity ae) |
void |
SquidPanel.wiggle(AnimatedEntity ae,
float duration)
Starts an wiggling animation for the object at the given location for the given duration in seconds.
|
SquidLayers |
SquidLayers.wiggle(AnimatedEntity ae,
int layer,
float duration) |
Copyright © Eben Howard 2012–2022. All rights reserved.