public ActionAttempt(ActionPrototype action) { _action = action; }
/// <summary> /// Tries to get the action of the indicated type /// </summary> /// <returns>true if found</returns> public bool TryGet(ActionType actionType, out ActionPrototype action) { return(_typeToAction.TryGetValue(actionType, out action)); }