mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-26 18:13:23 -07:00
Update world api.md
This commit is contained in:
@@ -709,7 +709,7 @@ class MyGameState(LogicMixin):
|
||||
|
||||
def init_mixin(self, multiworld: MultiWorld) -> None:
|
||||
# Initialize per player with the corresponding "nothing" value, such as 0 or an empty set.
|
||||
# You can also use something like Collections.defaultdict(set)
|
||||
# You can also use something like Collections.defaultdict
|
||||
self.mygame_defeatable_enemies = {
|
||||
player: set() for player in multiworld.get_game_players("My Game")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user