Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison API/WarFoundryCore.cs @ 434:c32bb2a53b87
Fixes #365: Add factory for UnitRequiresNoMoreThanNOfUnitTypeRequirement
* Centralise a number of hacks, including adding requirement factories
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 27 Nov 2011 15:34:51 +0000 |
parents | 3c4a6403a88c |
children | cbeee87dc2d3 |
comparison
equal
deleted
inserted
replaced
433:93c373701016 | 434:c32bb2a53b87 |
---|---|
7 using IBBoard.WarFoundry.API.Objects; | 7 using IBBoard.WarFoundry.API.Objects; |
8 | 8 |
9 namespace IBBoard.WarFoundry.API | 9 namespace IBBoard.WarFoundry.API |
10 { | 10 { |
11 public class WarFoundryCore | 11 public class WarFoundryCore |
12 { | 12 { |
13 static WarFoundryCore() | |
14 { | |
15 WarFoundryHacks.Initialise(); | |
16 } | |
17 | |
13 public static readonly int INFINITY = -1; | 18 public static readonly int INFINITY = -1; |
14 public static event GameSystemChangedDelegate GameSystemChanged; | 19 public static event GameSystemChangedDelegate GameSystemChanged; |
15 public static event ArmyChangedDelegate ArmyChanged; | 20 public static event ArmyChangedDelegate ArmyChanged; |
16 | 21 |
17 private static GameSystem system; | 22 private static GameSystem system; |