Package mindustry.entities.part
Class DrawPart.PartParams
java.lang.Object
mindustry.entities.part.DrawPart.PartParams
- Enclosing class:
- DrawPart
Parameters for drawing a part in draw().
-
Field Summary
Modifier and TypeFieldDescriptionfloat
float
float
float
float
float
int
int
float
float
float
float
-
Constructor Summary
-
Method Summary
-
Field Details
-
warmup
public float warmup -
reload
public float reload -
smoothReload
public float smoothReload -
heat
public float heat -
recoil
public float recoil -
life
public float life -
charge
public float charge -
x
public float x -
y
public float y -
rotation
public float rotation -
sideOverride
public int sideOverride -
sideMultiplier
public int sideMultiplier
-
-
Constructor Details
-
PartParams
public PartParams()
-
-
Method Details
-
set
public DrawPart.PartParams set(float warmup, float reload, float smoothReload, float heat, float recoil, float charge, float x, float y, float rotation) -
setRecoil
-