gameboy_worlds.interface.legend_of_zelda.environments
1from gameboy_worlds.emulation.legend_of_zelda.trackers import ( 2 CoreLegendOfZeldaTracker, 3) 4from gameboy_worlds.interface.environment import ( 5 DummyEnvironment, 6 TestEnvironmentMixin, 7) 8 9 10class LegendOfZeldaEnvironment(DummyEnvironment): 11 REQUIRED_STATE_TRACKER = CoreLegendOfZeldaTracker 12 13 14class LegendOfZeldaTestEnvironment(TestEnvironmentMixin, LegendOfZeldaEnvironment): 15 pass
class
LegendOfZeldaEnvironment(typing.Generic[~ObsType, ~ActType]):
11class LegendOfZeldaEnvironment(DummyEnvironment): 12 REQUIRED_STATE_TRACKER = CoreLegendOfZeldaTracker
A dummy environment that does nothing special.
REQUIRED_STATE_TRACKER =
<class 'gameboy_worlds.emulation.legend_of_zelda.trackers.CoreLegendOfZeldaTracker'>
The state tracker that tracks the minimal state information required for the environment to function.
Inherited Members
- gameboy_worlds.interface.environment.DummyEnvironment
- DummyEnvironment
- observation_space
- get_observation
- determine_reward
- determine_terminated
- render_obs
- render_info
- gameboy_worlds.interface.environment.Environment
- REQUIRED_EMULATOR
- override_emulator_kwargs
- override_state_tracker_class
- action_space
- actions
- render_mode
- save_custom_state
- delete_custom_state
- load_custom_state
- get_info
- get_final_info
- reset
- determine_truncated
- before_step
- after_step
- step
- step_high_level_action
- step_str
- string_to_high_level_action
- sim
- sim_str
- sim_high_level_action
- close
- render
- seed
- get_action_strings
- human_step_play
class
LegendOfZeldaTestEnvironment(typing.Generic[~ObsType, ~ActType]):
Mixin class for testing environments. Ensures the State Tracker used is a TestTrackerMixin and checks these for termination / truncation.
Inherited Members
- gameboy_worlds.interface.environment.DummyEnvironment
- DummyEnvironment
- observation_space
- get_observation
- determine_reward
- render_obs
- render_info
- gameboy_worlds.interface.environment.TestEnvironmentMixin
- REQUIRED_STATE_TRACKER
- determine_truncated
- determine_terminated
- gameboy_worlds.interface.environment.Environment
- REQUIRED_EMULATOR
- override_emulator_kwargs
- override_state_tracker_class
- action_space
- actions
- render_mode
- save_custom_state
- delete_custom_state
- load_custom_state
- get_info
- get_final_info
- reset
- before_step
- after_step
- step
- step_high_level_action
- step_str
- string_to_high_level_action
- sim
- sim_str
- sim_high_level_action
- close
- render
- seed
- get_action_strings
- human_step_play