Esempio n. 1
0
 // Methods
 /// <summary>Créait un nouveau MapPoint grâce à l'identifiant de la cellule sur la map</summary>
 /// <param name="CellId">Identifiant de la cellule</param>
 public MapPoint(int CellId)
 {
     this.CellId = 0;
     this.X      = 0;
     this.Y      = 0;
     if (!MapPoint.IsInit)
     {
         MapPoint.Init();
     }
     this.CellId = CellId;
     if (MapPoint.dictionary_0.ContainsKey(CellId))
     {
         MapPoint point = MapPoint.dictionary_0[CellId];
         this.Y = point.Y;
         this.X = point.X;
     }
 }