PR cleanup
This commit is contained in:
@@ -29,10 +29,8 @@ public class Fx{
|
|||||||
none = new Effect(0, 0f, e -> {}),
|
none = new Effect(0, 0f, e -> {}),
|
||||||
|
|
||||||
blockCrash = new Effect(100f, e -> {
|
blockCrash = new Effect(100f, e -> {
|
||||||
Block block = (Block)e.data;
|
if(!(e.data instanceof Block block)) return;
|
||||||
if(block == null){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
alpha(e.fin() + 0.5f);
|
alpha(e.fin() + 0.5f);
|
||||||
float offset = Mathf.lerp(0f, 200f, e.fout());
|
float offset = Mathf.lerp(0f, 200f, e.fout());
|
||||||
color(0f, 0f, 0f, 0.44f);
|
color(0f, 0f, 0f, 0.44f);
|
||||||
|
|||||||
Reference in New Issue
Block a user