mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-21 21:38:29 +03:00
unit boosting sensor (#4738)
This commit is contained in:
parent
8257fb5e11
commit
ca726d579e
@ -131,6 +131,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
//case dead -> dead || !isAdded(); //TODO 126
|
||||
case team -> team.id;
|
||||
case shooting -> isShooting() ? 1 : 0;
|
||||
case boosting -> type.canBoost && isFlying() ? 1 : 0;
|
||||
case range -> range() / tilesize;
|
||||
case shootX -> World.conv(aimX());
|
||||
case shootY -> World.conv(aimY());
|
||||
|
@ -30,6 +30,7 @@ public enum LAccess{
|
||||
//dead, //TODO 126
|
||||
range,
|
||||
shooting,
|
||||
boosting,
|
||||
mineX,
|
||||
mineY,
|
||||
mining,
|
||||
|
Loading…
Reference in New Issue
Block a user