Example #1
0
        public override void Update()
        {
            base.Update();

            if (this.target != null) {
                if (this.move <= (int)this.speed.Value) {
                    ++this.move;
                } else {
                    this.cell = this.target;
                    this.target = null;
                }
            }
        }
Example #2
0
        public override void Delete()
        {
            base.Delete();

            this.cell = null;
            this.target = null;
        }