How
This commit is contained in:
@@ -2016,5 +2016,11 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
out.setCentered(x, y, block.size * tilesize, block.size * tilesize);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Replace
|
||||
public String toString(){
|
||||
return "Building#" + id() + "[" + tileX() + "," + tileY() + "]:" + block;
|
||||
}
|
||||
|
||||
//endregion
|
||||
}
|
||||
|
||||
@@ -688,4 +688,10 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
//deaths are synced; this calls killed()
|
||||
Call.unitDeath(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Replace
|
||||
public String toString(){
|
||||
return "Unit#" + id() + ":" + type;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ import mindustry.world.meta.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
//TODO visuals!
|
||||
/** Do not use this class! */
|
||||
public class PayloadAmmoTurret extends Turret{
|
||||
public ObjectMap<UnlockableContent, BulletType> ammoTypes = new ObjectMap<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user