mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
game loop; player budget; enemy progression; GUI WIP
This commit is contained in:
committed by
Vasiliy Horbachenko
parent
4cd3c24b49
commit
ad4d183972
12
userdata/debriefing_parser.py
Normal file
12
userdata/debriefing_parser.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import typing
|
||||
import json
|
||||
|
||||
|
||||
class Debriefing:
|
||||
def __init__(self):
|
||||
self.destroyed_units = {} # type: typing.Dict[str, typing.Dict[str, int]]
|
||||
|
||||
def parse(self, path: str):
|
||||
with open(path, "r") as f:
|
||||
events = json.load(f)
|
||||
|
||||
Reference in New Issue
Block a user