Minor optimization
This commit is contained in:
@@ -1826,6 +1826,8 @@ public class Blocks implements ContentList{
|
||||
|
||||
size = 2;
|
||||
range = 80f;
|
||||
itemCapacity = 20;
|
||||
ammoAmount = 5;
|
||||
|
||||
consumes.item(Items.copper, 1);
|
||||
}};
|
||||
|
||||
@@ -36,7 +36,7 @@ public class Fx{
|
||||
TextureRegion region = unit.icon(Cicon.full);
|
||||
|
||||
rect(region, e.x, e.y,
|
||||
region.getWidth() * Draw.scl * scl, region.getHeight() * Draw.scl * scl, 180f);
|
||||
region.width * Draw.scl * scl, region.height * Draw.scl * scl, 180f);
|
||||
|
||||
}),
|
||||
|
||||
|
||||
@@ -1030,6 +1030,7 @@ public class UnitTypes implements ContentList{
|
||||
|
||||
mega = new UnitType("mega"){{
|
||||
|
||||
mineTier = 2;
|
||||
health = 500;
|
||||
speed = 1.8f;
|
||||
accel = 0.06f;
|
||||
|
||||
Reference in New Issue
Block a user