mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-16 02:38:37 +07:00
wip
This commit is contained in:
@ -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;
|
hit -= 1f / 5f * Time.delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deflectBullets();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void deflectBullets(){
|
||||||
float realRadius = realRadius();
|
float realRadius = realRadius();
|
||||||
|
|
||||||
if(realRadius > 0 && !broken){
|
if(realRadius > 0 && !broken){
|
||||||
|
Reference in New Issue
Block a user