public Resource GetResource(CharacterResourceType resourceType) { switch (resourceType) { case CharacterResourceType.Vitality: return(Vitality); case CharacterResourceType.Energy: return(Energy); case CharacterResourceType.Hunger: return(Hunger); case CharacterResourceType.Hygiene: return(Hygiene); case CharacterResourceType.Loyalty: return(Loyalty); default: return(null); } }
public static int GetCharactersResourceAmount(this Character ch, CharacterResourceType res) { throw new NotImplementedException(); }