Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert108 committed Sep 17, 2024
1 parent d2134b8 commit d1127ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
7 changes: 7 additions & 0 deletions atos/modules/OpenScenarioGateway/custom_command_action.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class CustomCommandAction:
def __init__(self, type: str, content: str):
self.type = type
self.content = content

def __eq__(self, other):
return self.type == other.type and self.content == other.content
10 changes: 1 addition & 9 deletions atos/modules/OpenScenarioGateway/storyboard_handler.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import sys
from scenariogeneration import xosc


class CustomCommandAction:
def __init__(self, type: str, content: str):
self.type = type
self.content = content

def __eq__(self, other):
return self.type == other.type and self.content == other.content
from modules.OpenScenarioGateway.custom_command_action import CustomCommandAction


class StoryBoardHandler:
Expand Down

0 comments on commit d1127ca

Please sign in to comment.