// Make sure Attribute is instantiated in the constructor public Character() { Attribute = new AttributeBase(); Alive = true; CreateDefaultCharacter(); }
// Make sure Attribute is instantiated in the constructor public Character() { Attribute = new AttributeBase(); Alive = true; }
// Return a formated string of the datastruture public static string GetAttributeString(AttributeBase data) { var myString = (JObject)JToken.FromObject(data); return(myString.ToString()); }