Ejemplo n.º 1
0
        public Plane UpdateData(int x, int y, int z, DateTime t)
        {
            Plane newPlane = new Plane(this.Tag, x, y, z, t);

            this.Bearing = _calculate.CalculateBearing(this, newPlane);

            this.Velocity = _calculate.CalculateVelocity(this, newPlane);

            this.XCoordinate = x;
            this.YCoordinate = y;
            this.ZCoordinate = z;
            this.CurrentTime = t;

            return(this);
        }