protected string CategoryString(CreatureStatCategory category) { switch (category) { case CreatureStatCategory.ADVANCEMENT: return("Advancement:"); case CreatureStatCategory.COMBAT: return("Combat Stats:"); case CreatureStatCategory.CORE: return("Core Stats:"); case CreatureStatCategory.GENERAL: return("General Stats:"); case CreatureStatCategory.PRISON: return("Prison Stats:"); case CreatureStatCategory.OTHER: default: return("Misc. Stats:"); } }
public SimpleCreatureStat(SimpleDescriptor statName, string immutableValue, CreatureStatCategory statCategory) : base(statName, statCategory) { simpleValue = immutableValue ?? throw new ArgumentNullException(nameof(immutableValue)); }
protected CreatureStatBase(SimpleDescriptor nameCallback, CreatureStatCategory statCategory) { statName = nameCallback ?? throw new ArgumentNullException(nameof(nameCallback)); category = statCategory; }
internal CreatureStatNumeric(SimpleDescriptor statName, CreatureStatCategory statCategory) : base(statName, statCategory) { }
internal CreatureStatWithMinMax(SimpleDescriptor statName, CreatureStatCategory statCategory) : base(statName, statCategory) { }