Mercurial > repos > IBBoard.WarFoundry.API
view api/Objects/Stat.cs @ 10:607c3232d689
Re #11 - Documentation
* Document Stats and SystemStats at class level to explain the difference
* Document WarFoundryXmlFactory at class level
Re #13 - XPath for XML loading
* Load categories using XPath - needs fixing so we can do a proper "categories/cat" query
Re #10 - Refactoring for readability
* Fix method signature for getting number from attribute added in r19
* Refactor more code in to GetExtraData method
* Separate out loading of categories for GameSystem
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 04 Jan 2009 20:43:36 +0000 |
parents | 520818033bb6 |
children | 306558904c2a |
line wrap: on
line source
using System; namespace IBBoard.WarFoundry.API.Objects { /// <summary> /// Summary description for Stat. /// </summary> public class Stat { private StatSlot parentStatSlot; private string statString; public Stat(StatSlot parentSlot, string statValue) { parentStatSlot = parentSlot; statString = statValue; } public StatSlot ParentSlot { get { return parentStatSlot; } set { parentStatSlot = value; } } public string SlotValueString { get { return statString; } set { statString = (value == null ? "" : value); } } } }