From cd061eceeb421d6bec5cd38bf9f315036ce88887 Mon Sep 17 00:00:00 2001 From: Orangerot Date: Sat, 11 Jan 2025 18:22:32 +0100 Subject: style: refactored into folder structure --- lib/models/input_direction.dart | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/models/input_direction.dart (limited to 'lib/models/input_direction.dart') 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; + } +} -- cgit v1.2.3