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/note.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/models/note.dart (limited to 'lib/models/note.dart') diff --git a/lib/models/note.dart b/lib/models/note.dart new file mode 100644 index 0000000..bcc6ac6 --- /dev/null +++ b/lib/models/note.dart @@ -0,0 +1,10 @@ +import 'package:sense_the_rhythm/models/arrow_direction.dart'; + +class Note { + final double time; + final ArrowDirection direction; + double position = 0; + bool? wasHit; + + Note({required this.time, required this.direction}); +} -- cgit v1.2.3