Shadow with width/height (#4609)
This commit is contained in:
@@ -112,6 +112,12 @@ public class Drawf{
|
|||||||
Draw.color();
|
Draw.color();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void shadow(TextureRegion region, float x, float y, float width, float height, float rotation){
|
||||||
|
Draw.color(Pal.shadow);
|
||||||
|
Draw.rect(region, x, y, width, height, rotation);
|
||||||
|
Draw.color();
|
||||||
|
}
|
||||||
|
|
||||||
public static void liquid(TextureRegion region, float x, float y, float alpha, Color color, float rotation){
|
public static void liquid(TextureRegion region, float x, float y, float alpha, Color color, float rotation){
|
||||||
Draw.color(color, alpha);
|
Draw.color(color, alpha);
|
||||||
Draw.rect(region, x, y, rotation);
|
Draw.rect(region, x, y, rotation);
|
||||||
|
|||||||
Reference in New Issue
Block a user