Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20] Camera look straight up down FINISH #133

Merged

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    a4f929a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c14319 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Simplify camera rotating logic.

    Ready for replacing dynamic camera rotating logic.
    Simplify dynamic camera rotating logic.
    Replace small camera rotating methods.
    Add simpler logic for replacing small methods.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    df1491d View commit details
    Browse the repository at this point in the history
  2. Add KeystrokeChecker as reusable component.

    Add real isKeyPressed method.
    Rename isKeyPressed method to isKeyPressing.
    Make all KeystrokeChecker test cases use one data supplier.
    Add isKeyReleased method for KeystrokeChecker.
    Rename MockKeyStroke.
    Fix MockKeyStroke bug.
    Add hasKeyPressedPreviousTick for KeystrokeChecker.
    Import unit test dependencies into common package.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    2b7af7c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9189cdd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d1ac8e View commit details
    Browse the repository at this point in the history
  5. Apply KeystrokeChecker on NarratorMenu.

    Replace more if condition with KeystrokeChecker.
    Add isNotPressing method to KeystrokeChecker.
    Simplify KeystrokeChecker methods name.
    Replace logic with KeystrokeChecker in NarratorMenu.
    Simplify KeystrokeChecker methods name.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    fa9a0da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    edc9b2b View commit details
    Browse the repository at this point in the history
  7. Arrange condition util classes.

    New KeystrokeTiming class for reusing.
    Rename KeystrokeChecker to Keystroke.
    Move Interval and KeystrokeChecker to new subpackage.
    Move Interval to independent file.
    Move KeystrokeChecker to independent file.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    560c862 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3068a96 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    160f9c1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fda95c9 View commit details
    Browse the repository at this point in the history
  11. Add trigger count function in Keystroke.

    Add hasBeenTriggered method.
    Add pressed trigger count test.
    Add released trigger count test.
    Add not pressing trigger count test.
    Add pressing trigger count test.
    Change unit test structure for further cases.
    Add tests for Keystroke.TriggeredAt enums.
    Arrange logic order in KeystrokeTest.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    65bf2aa View commit details
    Browse the repository at this point in the history
  12. Refactor NarratorMenu for readability.

    Make hasPressedPreviousTick private.
    Rename method.
    Make isTriggered a pure-function.
    Simplify keys name in NarratorMenu.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    7efc88f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7a3d68e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c5ff569 View commit details
    Browse the repository at this point in the history
  15. Implement DoubleClick for checking corresponding keystroke.

    Enhance a test case for DoubleClick.
    Make default interval in KeystrokeTiming not a singleton.
    Fill document.
    Rename MockKeystroke to MockKeystrokeAction for not confuse with the Keystroke class.
    Add one more test case for DoubleClick.
    Add /common/logs/ to gitignore.
    Test DoubleClick can clean stale count.
    Add MockInterval for simulating time passing.
    test DoubleClick can count trigger.
    Remove unnecessary imports.
    Add timing init arg to KeystrokeTiming.
    Move MockKeystroke to independent class.
    Move KeystrokeTest under subpackage.
    Add default multiple click speed config as 750ms.
    Prepare for implementing DoubleClick.
    boholder committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    798cd08 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    783687b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0569348 View commit details
    Browse the repository at this point in the history