Beispiel #1
0
 /// <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));
 }
Beispiel #2
0
 /// <summary>
 /// Adds the given KeyAssignment to the list
 /// of KeyAssignments to be tracked
 /// </summary>
 public void MapKey(KeyAssignment keyAssign)
 {
     captainKeys.Add(keyAssign);
 }