public void Update() { foreach (KeyValuePair <Key, KeyBinding> kvp in keyBindings) { KeyBinding kb = kvp.Value; if (kb.State) { kb.Operation(); } } }
public void Update() { foreach (KeyValuePair <Key, KeyBinding> kvp in keyBindings) { KeyBinding kb = kvp.Value; if (kb.State) { kb.Operation(); } } }