bounded -> controlled

This commit is contained in:
summetdev
2020-10-28 13:52:28 +03:00
parent 042bbffe77
commit c830db65d7
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
case shootX -> World.conv(aimX());
case shootY -> World.conv(aimY());
case flag -> flag;
case bounded -> controller instanceof LogicAI || controller instanceof Player ? 1 : 0;
case controlled -> controller instanceof LogicAI || controller instanceof Player ? 1 : 0;
case payloadCount -> self() instanceof Payloadc pay ? pay.payloads().size : 0;
default -> 0;
};

View File

@@ -30,7 +30,7 @@ public enum LAccess{
team,
type,
flag,
bounded,
controlled,
name,
config,
payloadCount,