18 lines
282 B
Dart
18 lines
282 B
Dart
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});
|
|
}
|