public QuestionResource(QuestionResourcePath path) { this.PngDirectoryPath = path; this.Answer = new Answer(path); this.Sprite = new CustomSprite(path); this.AnswerFullName = new AnswerFullName(path); }
public Answer(QuestionResourcePath resourcePath) { Value = resourcePath.AnswerName; }
public CustomSprite(QuestionResourcePath pngDirectoryPath) { this.ToSprite = ResourceAccesser.PngConvertToSprite.Convert(pngDirectoryPath.SpritePath); }