refactor: spezifiziere das Bauteile-Lager
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
from mech_factory.components import Area, AreaStatus, ItemStatus, OuterAmor, Zone
|
from mech_factory.component_storage import Area, AreaStatus, ItemStatus, OuterAmor, Zone
|
||||||
|
|
||||||
|
|
||||||
class StrikeEvent:
|
class StrikeEvent:
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
from events import CriticalStrikeEvent, StrikeEvent
|
from events import CriticalStrikeEvent, StrikeEvent
|
||||||
from mech_factory.components import InnerStructure, Item, ZoneNames
|
from mech_factory.component_storage import InnerStructure, Item, ZoneNames
|
||||||
|
|
||||||
|
|
||||||
class Mech(object):
|
class Mech(object):
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
from hangar.mech import Mech
|
from hangar.mech import Mech
|
||||||
from mech_factory.components import InnerStructure, Area, AreaNames, OuterAmor, ZoneNames
|
from mech_factory.component_storage import InnerStructure, Area, AreaNames, OuterAmor, ZoneNames
|
||||||
from mech_factory.components.items import Activator, Cockpit, Gyroskope, Joint, Reaktor, Sensors, Sustainment
|
from mech_factory.component_storage.items import Activator, Cockpit, Gyroskope, Joint, Reaktor, Sensors, Sustainment
|
||||||
from mech_factory.reader import ComponentReader
|
from mech_factory.reader import ComponentReader
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import enum
|
import enum
|
||||||
|
|
||||||
from mech_factory.components.items import Gyroskope, Item, ItemStatus
|
from mech_factory.component_storage.items import Gyroskope, Item, ItemStatus
|
||||||
|
|
||||||
|
|
||||||
class ZoneNames(enum.Enum):
|
class ZoneNames(enum.Enum):
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from mech_factory import MechFabrik
|
from mech_factory import MechFabrik
|
||||||
from mech_factory.components import AreaNames, ZoneNames
|
from mech_factory.component_storage import AreaNames, ZoneNames
|
||||||
|
|
||||||
INNER_ARMOR = {
|
INNER_ARMOR = {
|
||||||
AreaNames.HEAD: 3,
|
AreaNames.HEAD: 3,
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import unittest
|
|||||||
|
|
||||||
from hangar.mech import Mech
|
from hangar.mech import Mech
|
||||||
from mech_factory import MechFabrik
|
from mech_factory import MechFabrik
|
||||||
from mech_factory.components import InnerStructure, AreaNames, Area, OuterAmor, Zone, ZoneNames
|
from mech_factory.component_storage import InnerStructure, AreaNames, Area, OuterAmor, Zone, ZoneNames
|
||||||
from mech_factory.components.items import Cockpit, Gyroskope, Item, ItemTypes, Reaktor
|
from mech_factory.component_storage.items import Cockpit, Gyroskope, Item, ItemTypes, Reaktor
|
||||||
from test_mech import AbstractTestMechAmor, INNER_ARMOR, OUTER_ARMOR
|
from test_mech import AbstractTestMechAmor, INNER_ARMOR, OUTER_ARMOR
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
from events import CriticalStrikeEvent, StrikeEvent
|
from events import CriticalStrikeEvent, StrikeEvent
|
||||||
from mech_factory.components.items import BigItem, DurableItem, Item, ItemStatus, ItemTypes
|
from mech_factory.component_storage.items import BigItem, DurableItem, Item, ItemStatus, ItemTypes
|
||||||
from test_mech import AbstractTestMechAmor, INNER_ARMOR, NEXT_OUTER_ZONE, OUTER_ARMOR
|
from test_mech import AbstractTestMechAmor, INNER_ARMOR, NEXT_OUTER_ZONE, OUTER_ARMOR
|
||||||
from mech_factory.components import Area, AreaStatus, OuterAmor, ZoneNames
|
from mech_factory.component_storage import Area, AreaStatus, OuterAmor, ZoneNames
|
||||||
|
|
||||||
|
|
||||||
class TestMechAmor(AbstractTestMechAmor):
|
class TestMechAmor(AbstractTestMechAmor):
|
||||||
|
|||||||
Reference in New Issue
Block a user