public void Setup() { tracker = new ButtonTracker(); button1 = new Button(); button2 = new Button(); button3 = new Button(); }
protected void Initialize() { Tracker = new ButtonTracker(); RecordKeys(); EnableValidKeys(); }
/// <summary>Checks if the given mouse button is unique for this frame.</summary> public static bool IsUnique(MouseButton button) => !ButtonTracker.ContainsKey(button) || ButtonTracker[button] != InputHelper.CurrentFrame;