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])); } }
public MapDataChangedEventArgs(int X, int Y, EMapObject NewMapData) { this.Point = new Point(X, Y); this.NewMapData = NewMapData; }
public void SetMapData(Point Point, EMapObject MapObject) { SetMapData(Point.X, Point.Y, MapObject); }
public MapDataChangedEventArgs(Point Point, EMapObject NewMapData) : this(Point.X, Point.Y, NewMapData) { }