Unit command prototype
This commit is contained in:
@@ -3535,7 +3535,8 @@ public class Blocks{
|
||||
size = 3;
|
||||
}};
|
||||
|
||||
//TODO setup, sprite, balance...
|
||||
//TODO setup, sprite, balance... or just scrap it completely.
|
||||
if(false)
|
||||
droneCenter = new DroneCenter("drone-center"){{
|
||||
requirements(Category.units, with(Items.graphite, 10));
|
||||
|
||||
|
||||
@@ -183,6 +183,12 @@ public class Fx{
|
||||
}
|
||||
}),
|
||||
|
||||
moveCommand = new Effect(15, e -> {
|
||||
color(Pal.command);
|
||||
stroke(e.fout() * 5f);
|
||||
Lines.circle(e.x, e.y, 6f + e.fin() * 2f);
|
||||
}).layer(Layer.effect - 20f),
|
||||
|
||||
commandSend = new Effect(28, e -> {
|
||||
color(Pal.command);
|
||||
stroke(e.fout() * 2f);
|
||||
|
||||
Reference in New Issue
Block a user