mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 09:54:57 +07:00
wip
This commit is contained in:
parent
c51e755f71
commit
600954bf4b
@ -0,0 +1,4 @@
|
||||
package mindustry.world.blocks.defense;
|
||||
|
||||
public class DirectionalForceProjector{
|
||||
}
|
@ -171,6 +171,10 @@ public class ForceProjector extends Block{
|
||||
hit -= 1f / 5f * Time.delta;
|
||||
}
|
||||
|
||||
deflectBullets();
|
||||
}
|
||||
|
||||
public void deflectBullets(){
|
||||
float realRadius = realRadius();
|
||||
|
||||
if(realRadius > 0 && !broken){
|
||||
|
Loading…
Reference in New Issue
Block a user