Esempio n. 1
0
 public void SetMapData(int X, int Y, EMapObject MapObject)
 {
     if (X >= 0 && X < Width && Y >= 0 && Y < Height)
     {
         MapData[Y, X] = MapObject;
         RaiseEvent_MapDataChanged(new MapDataChangedEventArgs(X, Y, MapData[Y, X]));
     }
 }
Esempio n. 2
0
 public MapDataChangedEventArgs(int X, int Y, EMapObject NewMapData)
 {
     this.Point      = new Point(X, Y);
     this.NewMapData = NewMapData;
 }
Esempio n. 3
0
 public void SetMapData(Point Point, EMapObject MapObject)
 {
     SetMapData(Point.X, Point.Y, MapObject);
 }
Esempio n. 4
0
 public MapDataChangedEventArgs(Point Point, EMapObject NewMapData) : this(Point.X, Point.Y, NewMapData)
 {
 }