Update Events authored by Nicholas Sarian's avatar Nicholas Sarian
...@@ -24,8 +24,6 @@ class SendCreatePlayerEvent extends CreatePlayerEvent { ...@@ -24,8 +24,6 @@ class SendCreatePlayerEvent extends CreatePlayerEvent {
} }
} }
``` ```
Note: not all events need instance variables, as you can see in the `SendGetQuestEditingInformationEvent` in the [quest event](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/game_manager/lib/pages/quest/bloc/quest_event.dart) page. Whether you need instance variables or not depends on if the backend needs those variables. If the backend does not need any variables, the vent does not need to have any instance variables. Events are used to trigger the bloc to retrieve information. If an event has no instance variables, that means the backend does not require any instance variables to get the requested information.
It's worth noting that not all events require instance variables, as demonstrated by the `SendGetQuestEditingInformationEvent` in the [quest event](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/game_manager/lib/pages/quest/bloc/quest_event.dart) page. It's worth noting that not all events require instance variables, as demonstrated by the `SendGetQuestEditingInformationEvent` in the [quest event](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/game_manager/lib/pages/quest/bloc/quest_event.dart) page.
```dart ```dart
class SendGetQuestEditingInformationEvent extends QuestEvent { class SendGetQuestEditingInformationEvent extends QuestEvent {
... ...
......