public void SetValuesFromTemplate(FlatRedBall.Instructions.InstructionBlueprint template) { Type = template.MemberType.FullName; Member = template.MemberName; Value = template.MemberValue as object; Time = template.Time; TargetName = template.TargetType.FullName; }
public static InstructionSave FromInstructionBlueprint(FlatRedBall.Instructions.InstructionBlueprint template) { InstructionSave toReturn = new InstructionSave(); toReturn.SetValuesFromTemplate(template); return(toReturn); }