This commit is contained in:
Anuken
2020-08-13 09:18:47 -04:00
parent 1249eb3b00
commit 9ba98ed4b4
7 changed files with 9 additions and 40 deletions

View File

@@ -72,6 +72,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
@Override
public double sense(LAccess sensor){
if(sensor == LAccess.totalItems) return stack().amount;
if(sensor == LAccess.rotation) return rotation;
if(sensor == LAccess.health) return health;
if(sensor == LAccess.x) return x;
if(sensor == LAccess.y) return y;