public void Dispose() { GarbageMan.Dispose(this.m_Materials); this.m_Materials = null; this.ValueExtractor = null; }
public EntityRelationshipHandler() { this.ValueExtractor = new JSONValueExtractor(); this.m_Relationships = new NonUniqueDictionary <long, IRelationship>(); this.m_RelationshipTypes = this.Load().ToDictionary(relationship => relationship.Name, relationship => relationship); }
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 WorldInfoHandler(IObjectIconHandler objectIconHandler) { this.ObjectIcons = objectIconHandler; this.ValueExtractor = new JSONValueExtractor(); this.WorldTiles = new NonUniqueDictionary <string, WorldTile>(); this.WorldInfoDict = this.Load().ToDictionary(info => info.name, info => info); }
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"); }
public AbilityHandler() { this.ValueExtractor = new JSONValueExtractor(); this.Abilities = this.Load().ToList(); }
public void Dispose() { this.m_RelationshipTypes = null; this.m_Relationships = null; this.ValueExtractor = null; }
public VisionProviderHandler() { this.ValueExtractor = new JSONValueExtractor(); this.VisionTypes = this.Load().ToDictionary(vision => vision.Name, vision => vision); }
public GUIManager(Node rootUi) { this.ValueExtractor = new JSONValueExtractor(); this.RootUI = rootUi; this.Initialise(); }
public GenderHandler() { this.ValueExtractor = new JSONValueExtractor(); this.Initialise(); }
public void Dispose() { this.Genders = null; this.ValueExtractor = null; }
public MaterialHandler() { this.ValueExtractor = new JSONValueExtractor(); this.Initialise(); }
public void Dispose() { this.Abilities = null; this.ValueExtractor = null; }
public ObjectIconHandler(RNG roller) { this.Roller = roller; this.ValueExtractor = new JSONValueExtractor(); this.Load(); }
public NeedHandler() { this.ValueExtractor = new JSONValueExtractor(); this.m_NeedsMasters = this.Load().ToDictionary(need => need.Name, need => need); }
public LiveEntityHandler() { this.ValueExtractor = new JSONValueExtractor(); this.m_Entities = new System.Collections.Generic.Dictionary <Guid, IEntity>(); }