mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 06:22:17 -08:00
Replacement method bugfixes
This commit is contained in:
parent
aae6d2038b
commit
08af9aaa02
2 changed files with 15 additions and 2 deletions
|
|
@ -2,6 +2,7 @@ package mindustry.entities.comp;
|
|||
|
||||
import arc.util.ArcAnnotate.*;
|
||||
import mindustry.annotations.Annotations.*;
|
||||
import mindustry.game.*;
|
||||
import mindustry.gen.*;
|
||||
|
||||
import static mindustry.Vars.tilesize;
|
||||
|
|
@ -29,4 +30,14 @@ abstract class BlockUnitComp implements Unitc{
|
|||
public void damage(float v, boolean b){
|
||||
tile.damage(v, b);
|
||||
}
|
||||
|
||||
@Replace
|
||||
public boolean dead(){
|
||||
return tile.dead();
|
||||
}
|
||||
|
||||
@Replace
|
||||
public void team(Team team){
|
||||
tile.team(team);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue