diff options
author | Fredia Huya-Kouadio <fhuya@meta.com> | 2023-05-03 17:57:13 -0700 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuya@meta.com> | 2023-05-15 11:48:25 -0700 |
commit | 250749fa7956b450fff8446d5f361874743389ca (patch) | |
tree | 8df57a1a91e2fb51e3416c288cb35a2387d8b0a5 /modules/gdscript/gdscript_disassembler.cpp | |
parent | cf8ad12b56df4ae7bba4c73070dd035693a880e4 (diff) | |
download | redot-engine-250749fa7956b450fff8446d5f361874743389ca.tar.gz |
Augment the `InputEvent` class with a `CANCELED` state
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field.
This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled.
To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
Diffstat (limited to 'modules/gdscript/gdscript_disassembler.cpp')
0 files changed, 0 insertions, 0 deletions