Add setProp of speed/armor

This commit is contained in:
Anuken
2023-10-31 12:20:18 -04:00
parent 3e80541c2d
commit 1d051b5c16
2 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -21,6 +21,7 @@ public enum LAccess{
maxHealth,
heat,
shield,
armor,
efficiency,
progress,
timescale,
@@ -66,7 +67,7 @@ public enum LAccess{
all = values(),
senseable = Seq.select(all, t -> t.params.length <= 1).toArray(LAccess.class),
controls = Seq.select(all, t -> t.params.length > 0).toArray(LAccess.class),
settable = {x, y, rotation, team, flag, health, totalPower, payloadType};
settable = {x, y, rotation, speed, armor, health, team, flag, totalPower, payloadType};
LAccess(String... params){
this.params = params;