Mercurial > repos > IBBoard.WarFoundry.API
annotate api/Objects/StatSlot.cs @ 143:7f13ffcb8765 WarFoundry_v0.1beta2_Winforms
Re #164: Show unit cost in army tree
* Do prep work and create "ICostedWarFoundryObject" interface that defines objects with a "Points" property
* Implement new interface where necessary
* Deprecate old variations on "points value"
* Remove references to deprecated code
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 Sep 2009 19:42:53 +0000 |
parents | 2f3cafb69799 |
children |
rev | line source |
---|---|
104
2f3cafb69799
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
1 // This file (StatSlot.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2007, 2008, 2009 IBBoard. |
15 | 2 // |
104
2f3cafb69799
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
82
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. |
15 | 4 |
82 | 5 using System; |
6 using System.Text.RegularExpressions; | |
7 using System.Xml; | |
8 using IBBoard; | |
9 | |
10 namespace IBBoard.WarFoundry.API.Objects | |
11 { | |
12 /// <summary> | |
13 /// Summary description for StatSlot. | |
14 /// </summary> | |
15 public class StatSlot | |
16 { | |
0 | 17 private string name; |
82 | 18 private SystemStats sysStats; |
19 | |
20 public StatSlot(String statName) | |
0 | 21 { |
82 | 22 name = statName; |
23 } | |
24 | |
25 public string Name | |
26 { | |
27 get { return name; } | |
28 set { value = name; } | |
0 | 29 } |
30 | |
31 public SystemStats SystemStats | |
32 { | |
33 get { return sysStats; } | |
34 set { sysStats = value; } | |
82 | 35 } |
36 } | |
37 } |