Added Super Metroid support (#46)

Varia Randomizer based implementation
LttPClient -> SNIClient
This commit is contained in:
lordlou
2021-11-12 08:00:11 -05:00
committed by GitHub
parent 61ae51b30c
commit 77ec8d4141
141 changed files with 43859 additions and 106 deletions

View File

@@ -0,0 +1,26 @@
# entry point for the logic implementation
class Logic(object):
@staticmethod
def factory(implementation):
if implementation == 'vanilla':
from graph.vanilla.graph_helpers import HelpersGraph
from graph.vanilla.graph_access import accessPoints
from graph.vanilla.graph_locations import locations
from graph.vanilla.graph_locations import LocationsHelper
Logic.locations = locations
Logic.accessPoints = accessPoints
Logic.HelpersGraph = HelpersGraph
Logic.patches = implementation
Logic.LocationsHelper = LocationsHelper
elif implementation == 'rotation':
from graph.rotation.graph_helpers import HelpersGraph
from graph.rotation.graph_access import accessPoints
from graph.rotation.graph_locations import locations
from graph.rotation.graph_locations import LocationsHelper
Logic.locations = locations
Logic.accessPoints = accessPoints
Logic.HelpersGraph = HelpersGraph
Logic.patches = implementation
Logic.LocationsHelper = LocationsHelper
Logic.implementation = implementation