|
@@ -1,27 +1,12 @@
|
1
|
1
|
# coding: utf-8
|
2
|
|
-import typing
|
3
|
2
|
|
4
|
|
-from synergine2.simulation import SimulationBehaviour
|
5
|
|
-from synergine2.simulation import Event
|
6
|
3
|
from synergine2.terminals import TerminalPackage
|
7
|
4
|
from synergine2_cocos2d.interaction import Interaction
|
8
|
5
|
|
|
6
|
+from opencombat.simulation.state import SaveStateSimulationAction
|
9
|
7
|
from opencombat.user_action import UserAction
|
10
|
8
|
|
11
|
9
|
|
12
|
|
-class SaveStateSimulationAction(SimulationBehaviour):
|
13
|
|
- def run(self, data):
|
14
|
|
- pass
|
15
|
|
-
|
16
|
|
- def action(self, data) -> typing.List[Event]:
|
17
|
|
- # TODO BS 2018-06-14: dump state here
|
18
|
|
- pass
|
19
|
|
-
|
20
|
|
- @classmethod
|
21
|
|
- def merge_data(cls, new_data, start_data=None):
|
22
|
|
- pass
|
23
|
|
-
|
24
|
|
-
|
25
|
10
|
class SaveStateInteraction(Interaction):
|
26
|
11
|
gui_action = UserAction.SAVE_STATE
|
27
|
12
|
|