Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate api/Objects/StatSlot.cs @ 215:391446c9b250
Re #223: Use translations within the API
* Translate and cache undo/redo descriptions of commands
* Simplify "set equipment amount" descriptions because of ticket:224
Also:
* Line ending change on ICostedWarFoundryObject
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Nov 2009 20:08:45 +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 } |