Exemplo n.º 1
0
 public ActionAttempt(ActionPrototype action)
 {
     _action = action;
 }
Exemplo n.º 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));
 }