Пример #1
0
        public StrategyEurobot(int robotId, int teamId, string multicastIpAddress) : base(robotId, teamId, multicastIpAddress)
        {
            taskDemoMove    = new TaskDemoMove(this);
            taskDemoMessage = new TaskDemoMessage(this);
            taskDestination = new TaskDestination(this);

            this.robotId  = robotId;
            this.teamId   = teamId;
            localWorldMap = new LocalWorldMap(robotId, teamId);

            GhostTimer          = new Timer(20);
            GhostTimer.Elapsed += OnGhostTimerCalculationOrder;
        }
Пример #2
0
 public StrategyEurobot(int robotId, int teamId, string multicastIpAddress) : base(robotId, teamId, multicastIpAddress)
 {
     taskDemoMove    = new TaskDemoMove(this);
     taskDemoMessage = new TaskDemoMessage(this);
 }