|
Revision 29, 0.9 KB
(checked in by ibboard, 20 months ago)
|
|
Re #1 - LGPL license all code
- Add LGPL header to all files
- Add COPYING.LGPL and COPYING.GPL with content of license
|
| Line | |
|---|
| 1 | // This file (Stat.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2009 IBBoard. |
|---|
| 2 | // |
|---|
| 3 | // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. |
|---|
| 4 | |
|---|
| 5 | using System;
|
|---|
| 6 |
|
|---|
| 7 | namespace IBBoard.WarFoundry.API.Objects
|
|---|
| 8 | {
|
|---|
| 9 | /// <summary>
|
|---|
| 10 | /// Summary description for Stat.
|
|---|
| 11 | /// </summary>
|
|---|
| 12 | public class Stat
|
|---|
| 13 | {
|
|---|
| 14 | private StatSlot parentStatSlot;
|
|---|
| 15 | private string statString;
|
|---|
| 16 |
|
|---|
| 17 | public Stat(StatSlot parentSlot, string statValue)
|
|---|
| 18 | {
|
|---|
| 19 | parentStatSlot = parentSlot;
|
|---|
| 20 | statString = statValue;
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | public StatSlot ParentSlot
|
|---|
| 24 | {
|
|---|
| 25 | get { return parentStatSlot; }
|
|---|
| 26 | set { parentStatSlot = value; }
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | public string SlotValueString
|
|---|
| 30 | {
|
|---|
| 31 | get { return statString; }
|
|---|
| 32 | set { statString = (value == null ? "" : value); }
|
|---|
| 33 | }
|
|---|
| 34 | }
|
|---|
| 35 | }
|
|---|