Minor cleanup / Trail experiment
This commit is contained in:
@@ -11,7 +11,7 @@ abstract class TrailComp implements Unitc{
|
||||
@Import UnitType type;
|
||||
@Import float x, y, rotation;
|
||||
|
||||
transient Trail trail = new Trail();
|
||||
transient Trail trail = new Trail(4);
|
||||
|
||||
@Override
|
||||
public void update(){
|
||||
|
||||
@@ -22,7 +22,7 @@ abstract class WeaponsComp implements Teamc, Posc, Rotc{
|
||||
static int sequenceNum = 0;
|
||||
|
||||
/** weapon mount array, never null */
|
||||
@ReadOnly @SyncLocal WeaponMount[] mounts = {};
|
||||
@SyncLocal WeaponMount[] mounts = {};
|
||||
@ReadOnly transient float range, aimX, aimY;
|
||||
@ReadOnly transient boolean isRotate;
|
||||
boolean isShooting;
|
||||
|
||||
Reference in New Issue
Block a user