Commit 9d175cf
committed
Rework factory internals and clean out interface.
Now all the resources are loaded through the now standard Resource(file)
interface. Since all construction logic has moved back into the specific
Resource class all replay specific functions have been removed from the
SC2Factory.
Additionally we are abandoning the listeners model for a more straight
foward post-processing plugin model where by the plugin implements a
__call__ method, accepts a replay, and makes any modifications it finds
are necessary. This is both simpler and more efficient for many post
processing tasks.1 parent c28aa50 commit 9d175cf
3 files changed
+133
-441
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
| |||
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
36 | | - | |
37 | 28 | | |
38 | 29 | | |
0 commit comments