| Modifier and Type | Field and Description |
|---|---|
protected com.badlogic.gdx.assets.AssetManager |
assets |
| Constructor and Description |
|---|
Entity(com.badlogic.gdx.assets.AssetManager assets) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Entity entity) |
boolean |
equals(java.lang.Object obj) |
int |
getLifes() |
java.lang.String |
getName() |
protected float |
getSpeed() |
java.util.UUID |
getUUID() |
protected com.badlogic.gdx.math.Vector2 |
getVelocity() |
int |
hashCode() |
protected void |
setVelocity(float x,
float y) |
protected void |
setVelocityX(float x) |
protected void |
setVelocityY(float y) |
java.lang.String |
toString() |
draw, draw, flip, getBoundingRectangle, getColor, getHeight, getOriginX, getOriginY, getRotation, getScaleX, getScaleY, getVertices, getWidth, getX, getY, rotate, rotate90, scale, scroll, set, setAlpha, setBounds, setCenter, setCenterX, setCenterY, setColor, setColor, setColor, setFlip, setOrigin, setOriginCenter, setPosition, setRegion, setRotation, setScale, setScale, setSize, setU, setU2, setV, setV2, setX, setY, translate, translateX, translateYgetRegionHeight, getRegionWidth, getRegionX, getRegionY, getTexture, getU, getU2, getV, getV2, isFlipX, isFlipY, setRegion, setRegion, setRegion, setRegion, setRegionHeight, setRegionWidth, setRegionX, setRegionY, setTexture, split, splitpublic final int getLifes()
public java.lang.String getName()
public java.util.UUID getUUID()
protected void setVelocityX(float x)
protected void setVelocityY(float y)
protected void setVelocity(float x,
float y)
protected com.badlogic.gdx.math.Vector2 getVelocity()
protected float getSpeed()
public int compareTo(Entity entity)
compareTo in interface java.lang.Comparable<Entity>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object