More unit progress
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mindustry.entities.units;
|
||||
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import mindustry.graphics.*;
|
||||
|
||||
/** A sprite drawn in addition to the base unit sprites. */
|
||||
@@ -12,6 +13,8 @@ public class UnitDecal{
|
||||
public Blending blending = Blending.normal;
|
||||
public Color color = Color.white;
|
||||
|
||||
public TextureRegion loadedRegion;
|
||||
|
||||
public UnitDecal(String region, float x, float y, float rotation, float layer, Color color){
|
||||
this.region = region;
|
||||
this.x = x;
|
||||
@@ -21,6 +24,12 @@ public class UnitDecal{
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public UnitDecal(String region, Color color, Blending blending){
|
||||
this.region = region;
|
||||
this.color = color;
|
||||
this.blending = blending;
|
||||
}
|
||||
|
||||
public UnitDecal(){
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user