Ejemplo n.º 1
0
		public EnemyData(EnemyData cloneMe)
		{
			Time = cloneMe.Time;
			Name = cloneMe.Name;
			BearingRadians = cloneMe.BearingRadians;
			Distance = cloneMe.Distance;
			Energy = cloneMe.Energy;
			Position = new Point2D(cloneMe.Position);
			Velocity = cloneMe.Velocity;
			Acceleration = cloneMe.Acceleration;
			HeadingRadians = cloneMe.HeadingRadians;
			TurnRateRadians = cloneMe.TurnRateRadians;
		}
Ejemplo n.º 2
0
        }                                             // Stored info about our current radar target. (Wiped each round/match.)


        // Public Methods

        public AdvancedRobotEx()
        {
            Enemy = new EnemyData();
        }
		public EnemyData Enemy { get; set; }  // Stored info about our current radar target. (Wiped each round/match.)


		// Public Methods
		
		public AdvancedRobotEx()
		{
			Enemy = new EnemyData();
		}