/// <summary> /// Add the given token to the local player /// </summary> /// <param name="token"></param> /// <returns></returns> public bool AddToken(string token) { if (token == null) { throw new ArgumentNullException("token", "Cannot add a null token"); } return(_tokens.AddToken(token)); }
/// <summary> /// Add a token to the set for this trigger /// </summary> /// <param name="token"></param> /// <returns>A value indicating if the given token was added (false if the set already contained the token)</returns> public bool AddToken(string token) { return(_tokens.AddToken(token)); }