Package mindustry.entities.part
Interface DrawPart.PartProgress
- Enclosing class:
- DrawPart
public static interface DrawPart.PartProgress
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to firestatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to firestatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to firestatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to firestatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to firestatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to firestatic final DrawPart.PartProgress
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
Method Summary
Modifier and TypeMethodDescriptiondefault DrawPart.PartProgress
absin
(float scl, float mag) default DrawPart.PartProgress
add
(float amount) default DrawPart.PartProgress
add
(DrawPart.PartProgress other) default DrawPart.PartProgress
apply
(DrawPart.PartProgress other, DrawPart.PartFunc func) default DrawPart.PartProgress
blend
(DrawPart.PartProgress other, float amount) default DrawPart.PartProgress
clamp()
default DrawPart.PartProgress
compress
(float start, float end) static DrawPart.PartProgress
constant
(float value) default DrawPart.PartProgress
curve
(float offset, float duration) default DrawPart.PartProgress
default DrawPart.PartProgress
delay
(float amount) float
default float
default DrawPart.PartProgress
inv()
default DrawPart.PartProgress
min
(DrawPart.PartProgress other) default DrawPart.PartProgress
mul
(float amount) default DrawPart.PartProgress
mul
(DrawPart.PartProgress other) default DrawPart.PartProgress
shorten
(float amount) default DrawPart.PartProgress
sin
(float scl, float mag) default DrawPart.PartProgress
sin
(float offset, float scl, float mag) default DrawPart.PartProgress
slope()
default DrawPart.PartProgress
sustain
(float offset, float grow, float sustain)
-
Field Details
-
reload
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
smoothReload
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
warmup
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
charge
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
recoil
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
heat
Reload of the weapon - 1 right after shooting, 0 when ready to fire -
life
Reload of the weapon - 1 right after shooting, 0 when ready to fire
-
-
Method Details
-
get
-
constant
-
getClamp
-
inv
-
slope
-
clamp
-
add
-
add
-
delay
-
curve
-
sustain
-
shorten
-
compress
-
blend
-
mul
-
mul
-
min
-
sin
-
sin
-
absin
-
apply
-
curve
-