private void addButton(string use, Key p1) { var b = new UserButtonEvent(); buttonsKey.Add(p1, b); buttonsName.Add(use, b); }
private void setLeftMouse(string attack) { leftMouseButton = new UserButtonEvent(); buttonsName.Add(attack, leftMouseButton); }