comparison api/Objects/Stat.cs @ 0:520818033bb6

Initial commit of WarFoundry code
author IBBoard <dev@ibboard.co.uk>
date Fri, 19 Dec 2008 15:57:51 +0000
parents
children 306558904c2a
comparison
equal deleted inserted replaced
-1:000000000000 0:520818033bb6
1 using System;
2
3 namespace IBBoard.WarFoundry.API.Objects
4 {
5 /// <summary>
6 /// Summary description for Stat.
7 /// </summary>
8 public class Stat
9 {
10 private StatSlot parentStatSlot;
11 private string statString;
12
13 public Stat(StatSlot parentSlot, string statValue)
14 {
15 parentStatSlot = parentSlot;
16 statString = statValue;
17 }
18
19 public StatSlot ParentSlot
20 {
21 get { return parentStatSlot; }
22 set { parentStatSlot = value; }
23 }
24
25 public string SlotValueString
26 {
27 get { return statString; }
28 set { statString = (value == null ? "" : value); }
29 }
30 }
31 }