|
@@ -18,11 +18,11 @@ from synergine2_cocos2d.interaction import InteractionManager
|
18
|
18
|
from synergine2_cocos2d.middleware import MapMiddleware
|
19
|
19
|
from synergine2_cocos2d.util import PathManager
|
20
|
20
|
|
21
|
|
-from opencombat.gui.animation import ANIMATION_WALK
|
22
|
|
-from opencombat.gui.animation import ANIMATION_CRAWL
|
23
|
|
-from opencombat.gui.fire import GuiFiringEvent
|
24
|
|
-from opencombat.gui.placement import SetSubjectPositionsInteraction
|
25
|
|
-from opencombat.gui.state import SaveStateInteraction
|
|
21
|
+from opencombat.game.animation import ANIMATION_WALK
|
|
22
|
+from opencombat.game.animation import ANIMATION_CRAWL
|
|
23
|
+from opencombat.game.fire import GuiFiringEvent
|
|
24
|
+from opencombat.game.placement import SetSubjectPositionsInteraction
|
|
25
|
+from opencombat.game.state import SaveStateInteraction
|
26
|
26
|
from opencombat.simulation.interior import InteriorManager
|
27
|
27
|
from opencombat.simulation.tmx import TileMap
|
28
|
28
|
from opencombat.user_action import UserAction
|
|
@@ -45,8 +45,8 @@ from opencombat.simulation.event import FireEvent
|
45
|
45
|
from opencombat.simulation.event import DieEvent
|
46
|
46
|
from opencombat.simulation.subject import ManSubject
|
47
|
47
|
from opencombat.simulation.subject import TankSubject
|
48
|
|
-from opencombat.gui.actor import Man as ManActor
|
49
|
|
-from opencombat.gui.actor import HeavyVehicle as HeavyVehicleActor
|
|
48
|
+from opencombat.game.actor import Man as ManActor
|
|
49
|
+from opencombat.game.actor import HeavyVehicle as HeavyVehicleActor
|
50
|
50
|
|
51
|
51
|
|
52
|
52
|
class EditLayer(BaseEditLayer):
|
|
@@ -290,10 +290,10 @@ class Game(TMXGui):
|
290
|
290
|
)
|
291
|
291
|
|
292
|
292
|
def before_run(self) -> None:
|
293
|
|
- from opencombat.gui.move import MoveActorInteraction
|
294
|
|
- from opencombat.gui.move import MoveFastActorInteraction
|
295
|
|
- from opencombat.gui.move import MoveCrawlActorInteraction
|
296
|
|
- from opencombat.gui.fire import FireActorInteraction
|
|
293
|
+ from opencombat.game.move import MoveActorInteraction
|
|
294
|
+ from opencombat.game.move import MoveFastActorInteraction
|
|
295
|
+ from opencombat.game.move import MoveCrawlActorInteraction
|
|
296
|
+ from opencombat.game.fire import FireActorInteraction
|
297
|
297
|
|
298
|
298
|
self.layer_manager.interaction_manager.register(
|
299
|
299
|
MoveActorInteraction,
|