namespace ODMO.Commons.Models.Config { public sealed partial class MobLocationConfigModel { /// /// Creates a new location object. /// /// Map identifier. /// X (vertical) position. /// Y (horizontal) position public static MobLocationConfigModel Create(short mapId, int x, int y) { var location = new MobLocationConfigModel(); location.SetX(x); location.SetY(y); location.SetMapId(mapId); return location; } } }