1
0
forked from Clones/Controlify

make explosion rumble distance change mid-way through

This commit is contained in:
isXander
2023-04-05 23:57:53 +01:00
parent 3b1566cdc1
commit 3577fcb458
3 changed files with 42 additions and 9 deletions

View File

@ -1,4 +1,7 @@
package dev.isxander.controlify.rumble;
public record RumbleState(float strong, float weak) {
public RumbleState mul(float multiplier) {
return new RumbleState(strong * multiplier, weak * multiplier);
}
}