Esempio n. 1
0
 public void FromJson(Hashtable json)
 {
     if(json.ContainsKey("symbol"))
         Symbol = (MapRoomSymbol)Enum.Parse(typeof(MapRoomSymbol), json["symbol"].ToString());
 }
Esempio n. 2
0
 public MapRoom(MapRoomSymbol symbol = MapRoomSymbol.None)
 {
     Symbol = symbol;
 }