示例#1
0
 public ActionAttempt(ActionPrototype action)
 {
     _action = action;
 }
示例#2
0
 /// <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));
 }