Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate API/Objects/Mock/MockArmyCategory.cs @ 46:73308371f9d8
Re #270: Add multiple categories to API
* Add tests for new property and default behaviour
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 17 May 2010 20:04:13 +0000 |
parents | 19fc7a733064 |
children |
rev | line source |
---|---|
14
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (MockArmyCategory.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2009 IBBoard |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 using System; |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 namespace IBBoard.WarFoundry.API.Objects.Mock |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 { |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 public class MockArmyCategory : ArmyCategory |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 { |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 public MockArmyCategory (Category cat) : base(MockArmy.GetMockArmy(), cat) |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 { |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 } |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 } |
19fc7a733064
Re #198: Add slots with counts to units
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 } |