re factor rog
This commit is contained in:
17
lib/features/data/game_event.dart
Normal file
17
lib/features/data/game_event.dart
Normal file
@ -0,0 +1,17 @@
|
||||
enum EventType {
|
||||
atStart,
|
||||
starting,
|
||||
started,
|
||||
inCheckin,
|
||||
checkiningIn,
|
||||
checkedIn,
|
||||
atGoal,
|
||||
finishingGoal,
|
||||
finishedGoal,
|
||||
}
|
||||
|
||||
class GameEvent {
|
||||
final EventType type;
|
||||
final DateTime timestamp;
|
||||
GameEvent({this.type = EventType.atStart, required this.timestamp});
|
||||
}
|
||||
Reference in New Issue
Block a user