Allow for dynamic laser absorption and insulation (#5047)
* Allow for dynamic laser absorption * Might as well do insulated as well * null checks are important
This commit is contained in:
@@ -1241,6 +1241,14 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
return amount;
|
||||
}
|
||||
|
||||
public boolean absorbLasers(){
|
||||
return block.absorbLasers;
|
||||
}
|
||||
|
||||
public boolean isInsulated(){
|
||||
return block.insulated;
|
||||
}
|
||||
|
||||
public boolean collide(Bullet other){
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user