Пример #1
0
        //public void AutopilotTests(string argument, UpdateType updateSource)
        //{
        //    switch (argument)
        //    {
        //        case "Toggle":
        //            started = !started;
        //            break;
        //    }

        //    if (started)
        //    {
        //        Vector3D position = Vector3D.Zero;
        //        Vector3D direction = position - reference.GetPosition();
        //        direction.Normalize();

        //        autopilotModule.TravelToPosition(position, true);
        //    }
        //}

        //public void EntityTrackingTests(string argument, UpdateType updateSource)
        //{
        //    entityTracking.Poll();

        //    switch (argument)
        //    {
        //        case "Paint":
        //            entityTracking.PaintTarget(PAINTINGDISTANCE);
        //            break;
        //    }

        //    if ((updateSource & UpdateType.Update100) != 0)
        //    {
        //        entityTracking.TimeoutEntities(TimeSpan.FromSeconds(5));
        //    }

        //    monoOut.WritePublicText(entityTracking.known_Objects.ToString());
        //}

        //MAIN/CONSTR
        public Program()
        {
            profiler.OnProfilingFinished += OnProfilingFinished;
            DebugUtils.ConstructorWrapper(SubConstructor, this);
        }