77
|
1 using System;
|
|
2 using IBBoard.WarFoundry.API;
|
|
3 using IBBoard.WarFoundry.API.Objects;
|
|
4
|
|
5 namespace IBBoard.WarFoundry.MockObjects
|
|
6 {
|
|
7 public class MockWarFoundryLoader : AbstractWarFoundryLoader
|
|
8 {
|
|
9 protected override GameSystem GetExistingSystemForSystem(GameSystem system)
|
|
10 {
|
|
11 return system;
|
|
12 }
|
|
13
|
|
14 protected override void DoStoreGameSystem(GameSystem system)
|
|
15 {
|
|
16 //Do nothing
|
|
17 }
|
|
18
|
|
19 protected override void DoStoreRace(Race race)
|
|
20 {
|
|
21 //Do nothing
|
|
22 }
|
|
23
|
|
24 public override GameSystem[] GetGameSystems()
|
|
25 {
|
|
26 return new GameSystem[0];
|
|
27 }
|
|
28
|
|
29 public override GameSystem GetGameSystem(string systemID)
|
|
30 {
|
|
31 return null;
|
|
32 }
|
|
33
|
|
34 protected override void RemoveGameSystem(GameSystem system)
|
|
35 {
|
|
36 //Do nothing
|
|
37 }
|
|
38
|
|
39 public override Race[] GetRaces(GameSystem system)
|
|
40 {
|
|
41 return new Race[0];
|
|
42 }
|
|
43
|
|
44 public override Race GetRace(GameSystem system, string raceID)
|
|
45 {
|
|
46 return null;
|
|
47 }
|
|
48
|
|
49 public override Race GetRace(GameSystem system, string raceID, string raceSubID)
|
|
50 {
|
|
51 return null;
|
|
52 }
|
|
53
|
|
54 protected override void RemoveRace(Race race)
|
|
55 {
|
|
56 //Do nothing
|
|
57 }
|
|
58 }
|
|
59 }
|
|
60
|