Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison API/EventListeningWarFoundryLoader.cs @ 96:3c2c108a2f08
Re #253: Allow multiple data files in a single zip
* Fix unit tests by unsubscribing at end of test
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 05 Mar 2011 19:53:25 +0000 |
parents | 5d19fee8e9dc |
children | 0f144576e5eb |
comparison
equal
deleted
inserted
replaced
95:db6db25921fb | 96:3c2c108a2f08 |
---|---|
21 public override void RegisterFactory (INativeWarFoundryFactory factory) | 21 public override void RegisterFactory (INativeWarFoundryFactory factory) |
22 { | 22 { |
23 base.RegisterFactory (factory); | 23 base.RegisterFactory (factory); |
24 factory.GameSystemLoaded+= DoStoreGameSystem; | 24 factory.GameSystemLoaded+= DoStoreGameSystem; |
25 factory.RaceLoaded+= DoStoreRace; | 25 factory.RaceLoaded+= DoStoreRace; |
26 } | |
27 | |
28 public override void UnregisterFactory (INativeWarFoundryFactory factory) | |
29 { | |
30 base.UnregisterFactory(factory); | |
31 factory.GameSystemLoaded-= DoStoreGameSystem; | |
32 factory.RaceLoaded-= DoStoreRace; | |
26 } | 33 } |
27 | 34 |
28 protected override GameSystem GetExistingSystemForSystem (GameSystem system) | 35 protected override GameSystem GetExistingSystemForSystem (GameSystem system) |
29 { | 36 { |
30 throw new System.NotImplementedException(); | 37 throw new System.NotImplementedException(); |