Re-implemented some units / Bugfixes
This commit is contained in:
@@ -246,9 +246,9 @@ public class Generators{
|
||||
Image image = ImagePacker.get(type.region);
|
||||
|
||||
if(type.constructor.get() instanceof Legsc){
|
||||
image.draw(type.baseRegion);
|
||||
image.draw(type.legRegion);
|
||||
image.draw(type.legRegion, true, false);
|
||||
image.drawCenter(type.baseRegion);
|
||||
image.drawCenter(type.legRegion);
|
||||
image.drawCenter(type.legRegion, true, false);
|
||||
}
|
||||
image.draw(type.region);
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ class Image{
|
||||
graphics.fillRect(x, y, 1, 1);
|
||||
}
|
||||
|
||||
|
||||
/** Draws a region at the top left corner. */
|
||||
void draw(TextureRegion region){
|
||||
draw(region, 0, 0, false, false);
|
||||
|
||||
Reference in New Issue
Block a user