import 'package:fires_flutter/models/yourLocation.dart';
import 'package:fires_flutter/models/fireNotification.dart';
import 'package:meta/meta.dart';

abstract class FiresMapActions {}

class UpdateYourLocationMapAction extends FiresMapActions {
  final YourLocation loc;

  UpdateYourLocationMapAction(
    this.loc,
  );
}

class UpdateFireMapStatsAction extends FiresMapActions {
  int numFires;
  List<dynamic> fires = [];
  List<dynamic> falsePos = [];
  List<dynamic> industries = [];

  UpdateFireMapStatsAction(
      {@required this.numFires,
      @required this.fires,
      @required this.falsePos,
      @required this.industries});
}

class ShowYourLocationMapAction extends FiresMapActions {
  YourLocation loc;

  ShowYourLocationMapAction(this.loc);
}

class ShowFireNotificationMapAction extends FiresMapActions {
  FireNotification notif;

  ShowFireNotificationMapAction(this.notif);
}

class EditYourLocationAction extends FiresMapActions {
  YourLocation loc;

  EditYourLocationAction(this.loc);
}

class EditConfirmYourLocationAction extends FiresMapActions{
  YourLocation loc;

  EditConfirmYourLocationAction(this.loc);
}

class EditCancelYourLocationAction extends FiresMapActions {
  YourLocation loc;
  EditCancelYourLocationAction(this.loc);
}

class ToggleMapLayerAction extends FiresMapActions {}