public TiledObject(TiledObjectType objectType, int id, int? gid, float x, float y, float width, float height)
 {
     ObjectType = objectType;
     Id = id;
     Gid = gid;
     X = x;
     Y = y;
     Width = width;
     Height = height;
     Points = new List<Vector2>();
     Properties = new TiledProperties();
 }
 public TiledObject(TiledObjectType objectType, int id, int?gid, float x, float y, float width, float height)
 {
     ObjectType = objectType;
     Id         = id;
     Gid        = gid;
     X          = x;
     Y          = y;
     Width      = width;
     Height     = height;
     Points     = new List <Vector2>();
     Properties = new TiledProperties();
 }