private void DispatcherTimer_Tick(object sender, EventArgs e)
 {
     //Routine de mise à jour de l'affichage en fonction de ce qui a été reçu
     PolygonSeries.AddOrUpdatePolygonExtended((int)PolygonId.GhostPolygonId, GetRobotGhostPolygon());
     PolygonSeries.AddOrUpdatePolygonExtended((int)PolygonId.RobotPolygonId, GetRobotPolygon());
     PolygonSeries.RedrawAll();
 }
 public void UpdateWorldMapDisplay()
 {
     DrawBalls();
     DrawTeam();
     PolygonSeries.RedrawAll();
     RobotGhostSeries.RedrawAll();
     RobotShapesSeries.RedrawAll();
     ObjectsPolygonSeries.RedrawAll();
     BallPolygon.RedrawAll();
 }
예제 #3
0
 private void TimerAffichage_Tick(object sender, EventArgs e)
 {
     DrawBall();
     DrawRobot();
     DrawGhost();
     DrawLidar();
     PolygonSeries.RedrawAll();
     ObjectsPolygonSeries.RedrawAll();
     BallPolygon.RedrawAll();
 }
예제 #4
0
 private void TimerAffichage_Tick(object sender, EventArgs e)
 {
     DrawBall();
     DrawTeam();
     if (TeamMatesDisplayDictionary.Count == 1) //Cas d'un affichage de robot unique (localWorldMap)
     {
         DrawHeatMap(TeamMatesDisplayDictionary.First().Key);
     }
     PolygonSeries.RedrawAll();
     BallPolygon.RedrawAll();
 }