Commit Graph

26 Commits

Author SHA1 Message Date
196b5b41eb Also disable counting on argon display in test
Mostly for my own peace of mind.
2023-04-25 20:17:57 +02:00
0c3a015953 Fix key counter test not testing the full binding of IsCounting 2023-04-25 21:37:19 +09:00
809b817e8e Merge branch 'master' into gameplay/argon-key-counter_le-retour 2023-04-05 22:57:36 +02:00
5f9b13a775 Rename Add/AddRange methods as they are no longer conflicting with Container 2023-03-15 18:02:41 +09:00
44297a7d0a refactor: make KCD a CompositeDrawable 2023-03-08 00:47:16 +00:00
28520414aa Move KeyCounter components to HUD namespace 2023-03-07 16:41:39 +09:00
15d65059b5 Tidy up Add method logic 2023-03-07 16:21:57 +09:00
6307b3948a style: use Trigger initialisation 2023-02-22 17:59:39 +00:00
1beec71037 refactor(KeyCounterDisplay): apply suggestions
I also took the freedom to add type checking, as we can't limit the
usage of `Add()` since it's a Container. The exception thrown also
advises of using the suggested `AddTrigger()` instead.
2023-02-22 14:58:27 +00:00
ddd6c1a1c6 refactor(KeyCounter): address bindables issues
`IsCounting` is back being an auto-property.
`countPresses` is now encapsulated and being exposed as an
`IBindable<int>` via `CountPresses`
2023-02-16 22:20:34 +00:00
74e7cc2056 feat: implement new design of key counter 2023-02-15 22:18:02 +00:00
076eb81b21 refactor: rename trigger classes
Makes it better to understand their purpose
2023-02-15 21:46:13 +00:00
157bba7830 refactor: rename Trigger class to InputTrigger 2023-02-15 21:41:36 +00:00
11d0e185b8 refactor: separate impl of KeyCounterDisplay
This allows for different layouts of display. Idk, maybe someone would
want to mix both variants? (don't do this please). This commit is mostly
prep for further changes.
2023-02-13 01:36:12 +00:00
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
ef3c918a3c Simplify input buttons/keys in tests 2020-11-09 14:18:20 -08:00
648999a2de Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
0b728f483f Rename base test class to help avoid incorrect reference 2020-03-23 10:01:33 +09:00
0ccf691c97 Remove unnecessary interpolation 2020-03-06 18:00:07 +09:00
3d344a076d Add test for disabled keycounter, don't discard change event values 2020-03-03 06:17:25 +05:30
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
68feedbd15 Fix unreported CI issue 2019-09-12 18:46:42 +09:00
0cdf125c1e Handle key counter rewinding in a better way
Use ElapsedFrameTime rather than storing state data
2019-09-12 15:42:14 +09:00
158737e001 Remove FadeTime customisation
Also adjusts fade transitions to feel better, especially in fast forward scenarios.
2019-09-12 14:27:29 +09:00
459a285cd8 Rename test cases to test scenes inline with the framework change 2019-05-14 22:37:25 +03:00