diff options
author | Orangerot <purple@orangerot.dev> | 2025-01-11 18:22:32 +0100 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2025-01-11 18:22:32 +0100 |
commit | cd061eceeb421d6bec5cd38bf9f315036ce88887 (patch) | |
tree | 2ad0ad6101d6fa60d23edf05fccc2208c41c15cb /lib/models/input_direction.dart | |
parent | f98162b6d8ed70e571440c539ef053dce09f704d (diff) |
style: refactored into folder structure
Diffstat (limited to 'lib/models/input_direction.dart')
-rw-r--r-- | lib/models/input_direction.dart | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/models/input_direction.dart b/lib/models/input_direction.dart new file mode 100644 index 0000000..08096c7 --- /dev/null +++ b/lib/models/input_direction.dart @@ -0,0 +1,13 @@ +class InputDirection { + bool up = false; + bool down = false; + bool left = false; + bool right = false; + + void reset() { + up = false; + down = false; + left = false; + right = false; + } +} |