public class DamageComponent
extends java.lang.Object
implements com.badlogic.ashley.core.Component, com.badlogic.gdx.utils.Pool.Poolable
| Modifier and Type | Field and Description |
|---|---|
float |
dps |
| Constructor and Description |
|---|
DamageComponent() |
| Modifier and Type | Method and Description |
|---|---|
static DamageComponent |
create(com.badlogic.ashley.core.Engine engine) |
void |
reset() |
DamageComponent |
setDPS(float dps) |
public static DamageComponent create(com.badlogic.ashley.core.Engine engine)
public DamageComponent setDPS(float dps)
public void reset()
reset in interface com.badlogic.gdx.utils.Pool.Poolable