public void RegisterPluggable(int id, IInputModelPlugable plugable) { InputModelChanged[id] += plugable.SetInputModel; if (modelType[id]) { plugable.SetInputModel(controllers[id]); } else { plugable.SetInputModel(keyboard); } }
public void UnregisterPluggable(int id, IInputModelPlugable plugable) { InputModelChanged[id] -= plugable.SetInputModel; }