mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Attack command support, still no pathfinding
This commit is contained in:
parent
d1eae2d1a2
commit
c3c0b95024
6 changed files with 62 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue