23 lines
559 B
Python
23 lines
559 B
Python
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
from BaseClasses import Entrance, Region
|
|
|
|
if TYPE_CHECKING:
|
|
from .world import NodecamesWorld
|
|
|
|
|
|
def create_and_connect_regions(world: NodecamesWorld) -> None:
|
|
create_all_regions(world)
|
|
connect_regions(world)
|
|
|
|
|
|
def create_all_regions(world: NodecamesWorld) -> None:
|
|
overworld = Region("Overworld", world.player, world.multiworld)
|
|
world.multiworld.regions += [overworld]
|
|
|
|
|
|
def connect_regions(world: NodecamesWorld) -> None:
|
|
overworld = world.get_region("Overworld")
|