Attack command support, still no pathfinding
This commit is contained in:
@@ -183,11 +183,17 @@ public class Fx{
|
||||
}
|
||||
}),
|
||||
|
||||
moveCommand = new Effect(15, e -> {
|
||||
moveCommand = new Effect(20, e -> {
|
||||
color(Pal.command);
|
||||
stroke(e.fout() * 5f);
|
||||
Lines.circle(e.x, e.y, 6f + e.fin() * 2f);
|
||||
}).layer(Layer.effect - 20f),
|
||||
}).layer(Layer.overlayUI),
|
||||
|
||||
attackCommand = new Effect(20, e -> {
|
||||
color(Pal.remove);
|
||||
stroke(e.fout() * 5f);
|
||||
poly(e.x, e.y, 4, 7f + e.fin() * 2f);
|
||||
}).layer(Layer.overlayUI),
|
||||
|
||||
commandSend = new Effect(28, e -> {
|
||||
color(Pal.command);
|
||||
|
||||
@@ -3269,6 +3269,7 @@ public class UnitTypes{
|
||||
health = 700f;
|
||||
armor = 3f;
|
||||
hitSize = 12f;
|
||||
buildBeamOffset = 8f;
|
||||
|
||||
engineOffset = 7.5f;
|
||||
engineSize = 3.4f;
|
||||
|
||||
Reference in New Issue
Block a user