protected override void OnTick() { if (this.netbouy != null && !this.netbouy.Deleted) { this.netbouy.ChangeDirection(); } netbouy.Delete(); }