Esempio n. 1
0
    protected PlaceSettings createPlaceSettings(PlaceType type, int fontSize, Color color, Color stroke)
    {
        var ps = new PlaceSettings();

        ps.Type         = type;
        ps.FontSize     = fontSize;
        ps.Color        = color;
        ps.OutlineColor = stroke;
        return(ps);
    }
 private static void SetProperties(JSONObject geo, Place place, PlaceSettings typeSettings)
 {
     place.Id = geo["properties"]["id"].ToString();
     if (geo["properties"].HasField("name"))
     {
         place.Name = geo["properties"]["name"].str;
     }
     place.Type = geo["type"].str;
     place.Kind = geo["properties"]["kind"].str;
     place.name = "place";
 }
Esempio n. 3
0
 public PlaceImplementation(PlaceSettings settings)
 {
 }
Esempio n. 4
0
 public PlaceImplementation(PlaceSettings settings, IWorldCoreGameComponentContext context)
 {
 }