forked from p34709852/monkey
Island: Remove set_simulation_mode
This commit is contained in:
parent
547637d151
commit
10e1177ef6
|
@ -1,17 +0,0 @@
|
|||
from monkey_island.cc.models import IslandMode
|
||||
from monkey_island.cc.repository import ISimulationRepository
|
||||
|
||||
|
||||
class set_simulation_mode:
|
||||
"""
|
||||
Callable class that sets the Island's mode
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
simulation_repository: ISimulationRepository,
|
||||
):
|
||||
self._simulation_repository = simulation_repository
|
||||
|
||||
def __call__(self, mode: IslandMode):
|
||||
self._simulation_repository.set_mode(mode)
|
Loading…
Reference in New Issue