mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-09 06:37:30 +07:00
This commit is contained in:
parent
24db94a55b
commit
35ffbef557
@ -32,7 +32,9 @@ public class Fx{
|
||||
//lifetime is how many frames it takes to fade out the trail
|
||||
e.lifetime = trail.length * 1.4f;
|
||||
|
||||
if(!state.isPaused()){
|
||||
trail.shorten();
|
||||
}
|
||||
trail.drawCap(e.color, e.rotation);
|
||||
trail.draw(e.color, e.rotation);
|
||||
}),
|
||||
|
@ -72,9 +72,11 @@ public class Wall extends Block{
|
||||
Draw.blend();
|
||||
Draw.reset();
|
||||
|
||||
if(!state.isPaused()){
|
||||
hit = Mathf.clamp(hit - Time.delta / 10f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean collision(Bullet bullet){
|
||||
|
Loading…
Reference in New Issue
Block a user