Better bullet aiming

This commit is contained in:
Anuken
2022-04-28 10:49:29 -04:00
parent d40fcc10ab
commit ee23886666
3 changed files with 40 additions and 15 deletions

View File

@@ -40,6 +40,7 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw
//setting this variable to true prevents lifetime from decreasing for a frame.
transient boolean keepAlive;
transient @Nullable Tile aimTile;
transient float aimX, aimY;
transient float originX, originY;
transient @Nullable Mover mover;
transient boolean absorbed, hit;