/// <summary> /// Creates a KeyAssignment with the given information /// and calls MapKey(KeyAssignment keyAssign) /// </summary> public void MapKey(Keys key, KeyAssignment.KeyAction action, KeyActionType actionType) { MapKey(new KeyAssignment(key, action, actionType)); }
/// <summary> /// Adds the given KeyAssignment to the list /// of KeyAssignments to be tracked /// </summary> public void MapKey(KeyAssignment keyAssign) { captainKeys.Add(keyAssign); }