public int GetSymbolValue(SymbolId symbolId) { return(this[symbolId]); }
public bool Contains(SymbolId symbolId) { return(symbols != null && symbols.ContainsKey(symbolId)); }
public Builder SetSymbol(SymbolId key, int value) { this.symbols[key] = value; return(this); }
public Builder UnsetSymbol(SymbolId key) { this.symbols.Remove(key); return(this); }
/// <summary> /// Initializes a new instance of the <see cref="T:UnknownSymbolException"/> class /// </summary> /// <param name="symbolId">The unknown <see cref="T:Terrapass.GameAi.Goap.Planning.WorldStateSymbolId"/>.</param> /// <param name="details">A <see cref="T:System.String"/> that describes the exception. </param> public UnknownSymbolException(SymbolId symbolId, string details) : this(symbolId, details, null) { }
/// <summary> /// Initializes a new instance of the <see cref="T:UnknownSymbolException"/> class /// </summary> /// <param name="symbolId">The unknown <see cref="T:Terrapass.GameAi.Goap.Planning.WorldStateSymbolId"/>.</param> public UnknownSymbolException(SymbolId symbolId) : this(symbolId, null, null) { }