summaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2025-01-14 17:35:24 +0100
committerOrangerot <purple@orangerot.dev>2025-01-14 17:35:24 +0100
commite030b60c2567af239b81c9a36c502fa22defdc97 (patch)
tree83a7b5ac05220714c1deb18d56c9433900ded0ff /lib/models
parent28d0fe7d8c3a38d7c2ded86c30b549ed6be48f3c (diff)
feat: add comments
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/input_direction.dart3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/models/input_direction.dart b/lib/models/input_direction.dart
index 08096c7..b15b880 100644
--- a/lib/models/input_direction.dart
+++ b/lib/models/input_direction.dart
@@ -3,7 +3,8 @@ class InputDirection {
bool down = false;
bool left = false;
bool right = false;
-
+
+ /// reset all directions to false
void reset() {
up = false;
down = false;