public Vector2Int(Dictionary data) { JSONValueExtractor valueExtractor = GlobalConstants.GameManager.SettingsManager.ValueExtractor; this.x = valueExtractor.GetValueFromDictionary <int>(data, "x"); this.y = valueExtractor.GetValueFromDictionary <int>(data, "y"); }
public void Load(Dictionary data) { GD.PushError("Using the Load of Vector2Int! DOES NOT FUNCTION!"); JSONValueExtractor valueExtractor = GlobalConstants.GameManager.SettingsManager.ValueExtractor; this.x = valueExtractor.GetValueFromDictionary <int>(data, "x"); this.y = valueExtractor.GetValueFromDictionary <int>(data, "y"); }
public void Load(Dictionary data) { JSONValueExtractor valueExtractor = GlobalConstants.GameManager.SettingsManager.ValueExtractor; this.m_Tags = new HashSet <string>( valueExtractor.GetArrayValuesCollectionFromDictionary <string>( data, "Tags")); this.TileName = valueExtractor.GetValueFromDictionary <string>( data, "TileName"); this.TileSet = valueExtractor.GetValueFromDictionary <string>( data, "TileSet"); }