comparison api/Objects/GameSystem.cs @ 324:e09a8d9c95f6

Re #342: Game system has no stats by default * Initial minor change to make #324 tests work properly. Other parts still need testing/fixing.
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 Mar 2011 20:00:13 +0000
parents 7e1b27843b0d
children
comparison
equal deleted inserted replaced
323:8a64b36d36b8 324:e09a8d9c95f6
21 private int defaultArmySize; 21 private int defaultArmySize;
22 22
23 public GameSystem(string systemID, string systemName, IWarFoundryFactory creatingFactory) : base(systemID, systemName, creatingFactory) 23 public GameSystem(string systemID, string systemName, IWarFoundryFactory creatingFactory) : base(systemID, systemName, creatingFactory)
24 { 24 {
25 stats = new Dictionary<string, SystemStats>(); 25 stats = new Dictionary<string, SystemStats>();
26 defaultStats = "";
26 } 27 }
27 28
28 public int SystemArmyDefaultSize 29 public int SystemArmyDefaultSize
29 { 30 {
30 get { return defaultArmySize; } 31 get { return defaultArmySize; }