public override void Update() { Vel = Vel.Multiply(friction); turnRate *= friction; theta = turnRate; if (!cdHandler.IsOnCooldown()) { Kill(Team.None); } base.Update(); }
public override void Update() { if (cdHandler != null) { if (cdHandler.IsOnCooldown()) { Vel = Vel.Multiply(friction); turnRate *= friction; theta = turnRate; colorIndex = SwinGame.Rnd(colors.Count); } else { Kill(Team.None); } } base.Update(); }